Jorge Castro Derrik Campau Vamshi Samudrala Josh Berkus
Question: Hi. I've set up a multi master cluster with kubeadm. Everything is working fine but I want to make some changes to the arguments passed to the api-server. What is the best way to do that? Some suggest changing a config file, some talk about a config map, some mention kubeadm config and some talk about /etc/kubernetes/manifests. What is the prefered way to add arguments to that and do I need to do that on each master individually?
kubeadm upgrade plan - writes up to a config file kubeadm config view
https://kubernetes.io/docs/tasks/run-application/configure-pdb/ https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
Question: how does ingress resource map to ingress service/pods? I see kubernetes.io/ingress.class=nginx but not sure how this translates/links to nginx-ingress-controller service?
https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/ https://docs.nginx.com/nginx-ingress-controller/installation/running-multiple-ingress-controllers/ https://kubernetes.github.io/ingress-nginx/user-guide/basic-usage/
Question: Has anyone ever encountered master nodes (ec2, c5.24xl, k8s 1.15.9) randomly lock up, preventing etcd cluster from achieving quorum? By locking up I mean that node becomes inaccessible via SSH and ec2 metrics show CPU usage drop to 0. I'm seeing this after hitting a large number of objects in etcd.
Question: Hello, does anyone know how to consume all pod failure events? I want to see things like probe failures but also I want to see failures in the Horizontal Pod Autoscaler. I was looking at the audit log webhook but I’m not sure if this has this information.
Question: Can anyone help me? I am lost. I have tested an application on my local and it works fine. However, when I deploy using kubernetes, the pods seem like they’re working fine, but I cannot get the ingress to work. I’ve seen various issues, but now my cluster has seem to have gotten into a state where I cannot install the ingress anymore. Can anyone walk me through setting up an ingress like I’m 5??
https://kubernetes.github.io/ingress-nginx/deploy/ https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/ https://kubernetes.io/blog/2020/08/21/moving-forward-from-beta/
Question: Does anyone know if it's possible to get the latest resourceVersion number from the cluster? I ask because I want to start a bunch of watchers without replying the current state snapshot (when you set resourceVersion: null).
Question: we're going to have to stand up a new DNS server because external-dns doesn't work well with msft AD – has anyone had much experience in this area? Looking at suggestions on what to use for the server – I would think BIND or CoreDNS would be the logical choices, but would like more opimions.
Jorge Castro Pierre Humberdroz Rachel Leekin Povilas Versockas
Thanks to the following companies for lending us these experts: Google, Spectrm, Microsoft, VMware, StockX, Giant Swarm, UW
Person: doogie
Question: Got a question for you. My requirement is dependable egress static IP’s for my cluster, so that my vendors can whitelist our access. Ideally we’d be able to segment the namespaces or pods to specific node groups so that we could have blocks of IP’s for different purposes. Running on GKE, it looks like one of our only options, if not the only option, is to use a private cluster and Cloud NAT which has its own host of issues. What’s the ideal/recommended solution for this?
Urls:
Person: Simone Baracchi
Question: A question about DNS. Can I use different DNSes in different pods? For example I want pod 1 to use a certain MS Active Directory DNS service while pod 2 to use another. I know I can overwrite /etc/resolv.conf, but I can only use one DNS server, so I can either use the MS-AD one, or the kubernetes one, but not both, so my pod will lose ability to resolve the k8s internal URLs. Or I can set it globally but all pods will have the same DNS server. Can I have pods using a specific one?
Urls:
Person: Evesy
We’re using an init container (centos 7) to do some iptables rules to redirect traffic to localhost:6379 to $REMOTE_IP:6379 which works fine. We’ve been moving to centos 8 containers for our base now, which replaces iptables with nftables, I’ve got the equivalent nft commands however I’m always getting: Error: Could not process rule: Operation not supported The init container is running with NET_ADMIN (as it was before) and I’ve also tried adding NET_RAW. It works successfully just running via Docker on my local machine with the same capabilities using –cap-add but I can’t get it working in Kubernetes. Could this be down to the underlying OS on the k8s nodes (GKE CoS)? Or some other factor I haven’t considered?
person: Christian Roy
Question: Did anyone on the panel ever migrated from GKE to EKS and what were the things that didn't quite work the same way or what possible issues would you say I should look for?
person: Angelos Mimidis
Question: Any tool recommendations for kubernetes security bench marking? Everything I have seen so far, is not configurable enough to cater for "non-vanilla" deployments of k8s.
urls: https://github.com/bridgecrewio/checkov https://github.com/aquasecurity/kube-hunter
person: Yogi Question: Contributing to k8s documentation is very complicated. Is there a video tutorial? Create issues, create pr,
Person: Agustín Houlgrave Question: I've seen good things in argo, for example argo's custom rollout, which is a deployment but nicer. The fact that this exists i could mean that vanilla-k8s' Deployment may be getting a little bit incomplete. do you know if there are any plans for improving the Deployment resource?
person: Yogi Is podpreset is deprecated? What would be a good replacement if so?
Welcome everyone to today’s Kubernetes Office Hours, where we answer your user questions live on the air with our esteemed panel of experts. You can find us in [#office-hours] on slack, and check the topic for the URL for the information.
The hack.md notes document will have a list of who has asked questions, roll a dice to see who won the shirts. On occasion if someone from the audience has been helpful feel free to give them a shirt as well, we want to reward people for helping others. Note: Multi-sided dice not included.
(Note, the companies will change over time depending on the hosts)
Thanks to the following companies for supporting the community with developer volunteers: Giant Swarm, StockX, Pivotal, Pusher.com, Weaveworks, VMware, University of Michigan, Red Hat, and Utility Warehouse. Spectrm.
Special thanks to CNCF for sponsoring the t-shirt giveaway.
And lastly, feel free to hang out in [#office-hours] afterwards, if the other channels are too busy for you and you’re looking for a friendly home, you’re more than welcome to pull up a chair and hang out.