How to gracefully remove a node from Kubernetes?

List the nodes and get the <node-name> you want to drain or (remove from cluster) kubectl get nodes 1) First drain the node kubectl drain <node-name> You might have to ignore daemonsets and local-data in the machine kubectl drain <node-name> –ignore-daemonsets –delete-local-data 2) Edit instance group for nodes (Only if you are using kops) kops … Read more

Kubernetes vs. CloudFoundry [closed]

As both a CloudFoundry (past) and Kubernetes (present) commiter, I’m probably uniquely qualified to answer this one. PaaS-like I like to call CloudFoundry an “Application PaaS” and Kubernetes a “Container PaaS”, but the distinction is fairly subtle and fluid, given that both projects change over time to compete in the same markets. The distinction between … Read more

helm list : cannot list configmaps in the namespace “kube-system”

Once these commands: kubectl create serviceaccount –namespace kube-system tiller kubectl create clusterrolebinding tiller-cluster-rule –clusterrole=cluster-admin –serviceaccount=kube-system:tiller kubectl patch deploy –namespace kube-system tiller-deploy -p ‘{“spec”:{“template”:{“spec”:{“serviceAccount”:”tiller”}}}}’ helm init –service-account tiller –upgrade were run, the issue has been solved.

What is the difference between a Kubernetes Controller and a Kubernetes Operator?

I believe the term “kubernetes operator” was introduced by the CoreOS people here An Operator is an application-specific controller that extends the Kubernetes API to create, configure and manage instances of complex stateful applications on behalf of a Kubernetes user. It builds upon the basic Kubernetes resource and controller concepts, but also includes domain or … Read more

What is an ‘endpoint’ in Kubernetes?

While you’re correct that in the glossary there’s indeed no entry for endpoint, it is a well defined Kubernetes network concept or abstraction. Since it’s of secondary nature, you’d usually not directly manipulate it. There’s a core resource Endpoint defined and it’s also supported on the command line: $ kubectl get endpoints NAME ENDPOINTS AGE … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)