Kubernetes

Kubernetes is a cloud platform for automating the deployment, scaling, and management of containerized applications.

Kubernetes subscription active
You will receive email notifications for new publications on Kubernetes.
312 Results
  • Question

    How to update DO Kubernetes Marketplace Applications

    Let's say we're installing for example NGINX Ingress Controller from the DO marketplace. Is this a one-time process that runs after clicking install or can we also update by clicking this again in the future if new ve...
    Accepted Answer: Hi we have started deploying some apps with helm 3 for example https://marketplace.digitalocean.com/apps/kube-state-metrics If you scroll down you can see instructions for updating deployments.
    2 By thc Kubernetes DigitalOcean Managed Kubernetes
  • Question

    Unfortunately, the EPUB is rejected by Google Books

    Recently @henrikWhale reported that the DigitalOcean eBook: Kubernetes for Full-Stack Developers (https://www.digitalocean.com/community/books/digitalocean-ebook-kubernetes-for-full-stack-developers) EPUB is being rej...
    Accepted Answer: For more information about the Kubernetes for Full-Stack Developers eBook you can visit the book page here: https://www.digitalocean.com/community/books/digitalocean-ebook-kubernetes-for-full-stack-developers Hope tha...
    2 By bobbyiliev Kubernetes Books
  • Question

    Multiple cluster kubernetes digitalocean

    Hi there, can we have multi cluster in the same account ?
    Accepted Answer: Yes you should be able to create more Kubernetes clusters using the green create button in the top right of the control panel.
    1 By projecthabit21 Kubernetes
  • Question

    pod didn't trigger scale-up (it wouldn't fit if a new node is added)

    Autoscaling worked fine (kubernetes added new 1cpu/2gbRAM droplet/node to cluster automatically) when i started a kubernetes Job with requested memory: "800Mi", parallelism: 2 but when i tried to start a job with req...
    Accepted Answer: The autoscaling task adds nodes to the pool that requires additional compute/memory resources. The node type is determined by the pool the settings and not by the autoscaling rules. From this, you can see that you nee...
    2 By wika Kubernetes
  • Question

    How to reuse DO LoadBalancer previously created through Kubernetes?

    Hi, when creating a Kubernetes cluster and using a load balancer to host any public service, its easy to imagine that there would be anything going terribly wrong with the cluster. In that case I would like to create ...
    Accepted Answer: Hi Dennis, Thanks for your question. I'm Tyler, the product manager for our Load Balancer product. At this point in time, it's not possible to re-use an existing LB. It has to be generated as a new LB in order to get ...
    9 By dennisstr Kubernetes Load Balancing
  • Question

    General: autoscaling & security

    Hi, I am very much new to kubernetes and trialing out the DO managed kubernetes product and have some questions that i need help with - struggling to find clear guides/docs describing the following: Autoscaling * What...
    Accepted Answer: Hi there, Yes there is a difference between the two. The first command kubectl autoscale automatically scales out your pod replicas of a given deployment. The second command automatically scales out the number of node...
    1 By nathanfloor Kubernetes
  • Question

    How do you clone a PersistentVolumeClaim in Kubernetes ?

    Hello all ! According to Kubernetes official documentation (https://kubernetes.io/fr/docs/concepts/storage/persistent-volumes/#clonage-de-volume), it's possible to clone a PVC from another PVC. yaml apiVersion: v1 kin...
    Accepted Answer: Thanks @jkwiatkoski ! I will use this solution.
    2 By mikambooCrab Kubernetes Storage
  • Question

    Does scaling down deployments help saving on billing?

    Does scale down deployments outside business hours help saving on billing?
    Accepted Answer: It depends on what you're scaling down. As @bobbyiliev said, if you're reducing the number of nodes in your cluster, that will but down your bill. But if you're just reducing the number of replicas of your deployment ...
    3 By xenon90 Kubernetes
  • Question

    How do I set DNS records for Kubernetes with a load balancer?

    I am using Helm to create a Kubernetes deployment. In front of this, there is a load balancer and an ingress server - see below for an abridged version of helm status auth ``` ==> v1/Service NAME TYPE ...
    Accepted Answer: I've sort of moved away from this now. Rather than managing my own ingress, I've wired it up with GitLab and let them manage my ingress. If I'd wanted to do this as my own ingress, I would need nginx-ingress controlle...
    2 By simon5396a2eb73fd67c2ed154 Kubernetes Load Balancing DNS DigitalOcean
  • Question

    All pods scheduled on a single node. How do I balance pods on managed Kubernetes?

    I have a managed Kubernetes cluster with 2 nodes and around 50 deployments/pods. However, all 50 pods are scheduled on a single node while the other node is completely empty. How do I get the scheduler to schedule new...
    Accepted Answer: Try using podAntiAffinity or podAffinity in your deployment
    6 By digitaloceanuser2 Kubernetes
  • Question

    Kubernetes deployment with external load balancer: zero downtime rollouts

    Environment My Kubernetes cluster only has 1 node for now - managed by DigitalOcean. The web application that I deployed runs in 3 pods - all on ONE node. I used the external DigitalOcean's load balancer to expose the...
    Accepted Answer: This is fixed now, I asked too soon, but I hope this will help someone else: I had to add livenessProbe and readinessProbe to my deployment - to have kubelet check to make sure my pods are ready to start accepting tra...
    2 By alexkovshovik Kubernetes Deployment Load Balancing High Availability
  • Question

    Private docker registry

    Hi there, I just got access to the new kubernetes cluster feature. I was wondering about how to access a private docker registry? Thanks, M
    Accepted Answer: I've done this with Gitlab as my Docker registry. Create a secret of type docker-registry: kubectl create secret docker-registry gitlab-registry --docker-email="EMAIL" --docker-username="USERNAME" --docker-server="ht...
    4 By teo2k Kubernetes
  • Question

    Custom loadbalancer?

    Hi, I have created a Kubernetes cluster with the help of DOs' Kubernetes service. Every time I create a load balancer service inside my cluster, a load balancer from DO gets created which is a paid service. We current...
    Accepted Answer: I use a service mesh, Linkerd, which is on the DO Marketplace and easily installable in existing clusters. Then I use an ingress controller to handle the external traffic coming in. It can sustain drains and upgrades ...
    4 By tomescumihail93 Kubernetes Load Balancing
  • Question

    How to connect Gitlab project to Kubernetes cluster?

    I want to connect my Gitlab project with a Kubernetes cluster. Basically I want to try to create my first CI/CD pipeline.
    Accepted Answer: Hello, With GitLab this is quite straight forward to do. Prerequisites: Deploy a K8s cluster on DigitalOcean. If you do not have that already, here's how to do it: https://www.digitalocean.com/docs/kubernetes/how-to/c...
    3 By bitmap Kubernetes Git Development
  • Question

    Can Cilium Network Policy be leveraged to blacklist troublesome hosts

    I have been developing a web app living in DO's managed Kubernetes, and am researching the best way to blacklist Internet ingressed hosts that are an issue. For example, I flag a host as attempting bad authentication ...
    Accepted Answer: hi there, You could certainly use networkPolicy objects to enforce rules like you described. Another option would be to use a single LB for an ingress controller and then police the traffic at that point. For example ...
    1 By pinion Kubernetes Networking
  • Question

    Use kubernetes without a load balancer?

    I have a docker image of my node.js application and I was wondering if I could use it with kubernetes and expose it publically without having to use a load balancer (I will have one container running only)?
    Accepted Answer: Hi there! Yes you could do this by creating a simple nodeport service. Then you should be able to access your application at: <ip of node>:<nodeport assigned> Downsides of this are: The default nodeport range is 300...
    1 By waqas14 Kubernetes
  • Question

    Pod unable to curl loadbalancer

    Hey All, My pods are unable to curl any domains attached to or the IP of my loadbalancer. It just times out. It does work from an external address however. This is currently preventing cert-manager from creating a cer...
    Accepted Answer: Hi there! Thank you for cntacting DigitalOcean! There is a known issue in the kubernetes project(https://github.com/kubernetes/kubernetes/issues/66607)for connections from within the cluster accessing public urls to t...
    1 By cooljacob204 Kubernetes
  • Question

    kubectl asking for username and password

    I have just set up a Kubernetes cluster on DigitalOcean. I have followed the suggested tutorial but when I try and run the commands I keep getting prompted for a username and password which I have not been provided wi...
    Accepted Answer: After pulling my hair out for a few hours and seriously questioning why I moved to DO, I've got to the bottom of the issue... Manually downloading the config file and using doctl will retrieve different files. The man...
    4 By anthonybudd DigitalOcean Kubernetes
  • Question

    How to solve clusterissuer challenge timeouts?

    Setup: DO K8S Cluster w/ 2 nodes and 1 Ingress-NGINX LoadBalancer I was wondering why certificate requests fail and found in the logs of the Challenge, that the self check GET request runs into timeout. After looking ...
    Accepted Answer: Posted the same issue on SO, and already got an answer there: https://stackoverflow.com/questions/59286126/kubernetes-cluterissuer-challenge-timeouts For me, this is an acceptable workaround for now. Hope this can hel...
    2 By thc Kubernetes Nginx Load Balancing Networking DigitalOcean Managed Kubernetes
  • Question

    How long does it typically take a cluster to come up and be live?

    I have successfully launched my app using DO Kubernetes, but have noticed that from typing kubectl apply for the first time to the cluster being able to serve requests takes around 5 minutes. Is this typical? It see...
    Accepted Answer: Hi there! Yes it can take anywhere from 3-10min for the cluster to come up. This is heavily dependent on the cluster size and how many nodes need to bootstrap as well as other factors such as the standard performance ...
    4 By scottmiller Kubernetes Ruby on Rails