[kubernetes-users] Re: Failed to patch kube-apiserver daemonset with kubectl patch command

2017-09-28 Thread Marc Sluiter
How did you start kube-apiserver? AFAIK usually it's a static pod, defined in /etc/kubernetes/manifests, and picked up by kubelet directly. So if you want to edit it, you need to edit the spec file in that directory. Changes will be applied automatically. Am Mittwoch, 27. September 2017

Re: [kubernetes-users] kubectl-yaml (two containers & two replica) httpd & mysql

2017-07-30 Thread Marc Sluiter
Hey, the problem with your yaml file is the second "containers:" line, it can be removed. The first one is starting the "containers" sequence, and each item of that sequence starts with e.g. "- name: ...". Nevertheless it might make sense to deploy webserver and database in separated pods, so