By larsblumberg
Hi! yesterday I set up a kubernetes cluster on DigitalOcean and today I ran the following steps:
$doctl kubernetes cluster kubeconfig save fyx-cluster
(OK)
$kubectl config current-context
(prints cluster name)
$kubectl apply -f gitlab-admin-service-account.yaml
Unable to connect to the server: dial tcp <IP address>:443: i/o timeout
I run the last command repeatedly, same error.
Now, 10 minutes later, the same command succeeds:
$kubectl apply -f gitlab-admin-service-account.yaml
serviceaccount/gitlab-admin created
clusterrolebinding.rbac.authorization.k8s.io/gitlab-admin created
Is there a way I can avoid these timeouts in the future?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, I have the same issue and its happen sporadically. Actually i have 4 kubernetes cluster and I found that the issue are appearing only to one. The only differences is that its the development version and we have a lot of kubernete’s jobs but from the digital ocean reports looks ok. The current status is that is down ( kubernetes access url: https://6474d159-xxxxxxxx-42e8-xxxxxx-6xxxxxxx1cd6e24.k8s.ondigitalocean.com
Unable to connect to the server: dial tcp 165.xxx.xxx.133:443: i/o timeout
Running the same command a few minutes later, results again in the same error:
$kubectl apply -f gitlab-admin-service-account.yaml
Unable to connect to the server: dial tcp <IP address>:443: i/o timeout
These errors seem to happen sporadically and I’d like to learn how to fix the root cause. My personal internet connection is fine.
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.