Alright here’s the video from the first session:
And here are the notes, they are not as useful by themselves but act as a agenda item as it’s the order in which we ask the questions. I’ll leave this post as a wiki if someone wants to help timestamp these!
Office Hours 2018-11-21
Your hosts: Bob Killen, Jorge Castro, Puja Abbassi, Joel Speed, and featuring Matt Farina.
Name: Sagar
Source: PM to Jorge
Question: HI jorge, does minikube version: v0.30.0 support docker version 18.09.0?? I was trying to install minikube on my ubuntu virtual machine, but it says that it doesn’t support docker version 18.09.0
Answer: Are you using vm-driver=none? Current default for minikube ISOs is 18.06.1, what is the exact error message? Could potentially roll your own ISO.
Name: jimcm
Source: Office Hours Slack
Question: Hi, I’d like to submit a question for office hours. I’m a newbie kubernetes user, and am having a problem getting kubernetes up and running on my single node cluster. Problem description here: https://stackoverflow.com/questions/53309671/coredns-in-crashloopbackoff-kubernetes-1-11 . I followed the debugging steps at Troubleshooting - Kubernetes but that didn’t help solve my problem. My question: what are suggested next steps for debugging? e.g. how to turn on additional tracing/logging, how to snoop traffic on the pod network, etc.
Answer: It looks like it was deployed with kubeadm, but generally referencing the API server should be the host’s IP and not a clusterIP service? Can turn up debugging and take a look.
Jorge: ask ilya to take a look
Name: Simon Gottschlag
Source: Office Hours Slack
Question: Question for Matt during office hours: We are using Ansible for most of the things we do. We’ve been seeing some issues and read about more when it comes to the helm module for Ansible. Do you see that module as something that is recommended for production or is it deprecated? If we shouldn’t use the module, how do you recommend using Helm with Ansible? Thanks!
Answer: Get Darren a tshirt.
Name: Brian
Source: Office Hours Slack
Question: Question: I’ve used managed clusters and local single node clusters. Now I want a 3 node cluster (primarily targeted at kubeflow/app dev) what is the suggested path of least resistance? Is Centos 7 vm’s (master: “memsize”: “8192”, “vcpus”: “8”; slaves half that) configured with kubespray a good path? Thanks for having office hours!
Answer:
Jorge: Find a cluster-API person, here’s a good demo: https://www.youtube.com/watch?v=F8ZTNFkfYOE&feature=youtu.be
Name: benji
Source: Office Hours Slack
Question: Could you guys describe why Federationv1 has been stopped and how Federationv2 is diffrent/better ?
Answer: https://old.reddit.com/r/kubernetes/comments/9moz0r/what_is_wrong_with_federation_v1_and_what_makes/e7hmsb8/
Check out: https://github.com/bookingcom/shipper
Name: Anand Singh Kunwar
Source: Office Hours Slack
Question: Anyone knows a way to get a secret in environment variables in a statefulset where each secret/key pair corresponds to one of the ordinal indices of the statefulset pod?
Answer:
K8Crypto [9:27 AM]
Speaking of ENVs, is there a reason why some pods in same namespace see other pod envs ?
Are those coming from Secrets?
Anand Singh Kunwar [9:27 AM] So you have use an initContainer as well to create another env variable?
https://kubernetes.io/docs/concepts/services-networking/service/#discovering-services
Name: jimangel
Source: Office Hours Slack
Question: Hey Matt, looking for an elevator pitch of what’s coming in helm v3, ETA, and any major roadblocks / how we can help?
Answer:
Name: eduard-t
Source: Office Hours Slack
Question: what is your experience with bringing internet traffic into a baremetal cluster? Currently using keepalived vip pointing to a ingress controller nodeport service. Is there a better way to do this?
Answer:
Name: darren
Source: Office Hours Slack
Question: What are some of the “must have” applications you use to help manage / interact with your kubernetes clusters? Just to give an example of ones I find really useful:
• https://github.com/wercker/stern - for tailing logs from multiple containers
• https://www.telepresence.io/ - for joining your kubernetes network to your local machine
We’re on the cusp of delivering our first k8s cluster our developers and would like suggestions for making it easier on them.
We use chartmuseum for hosting our helms…is there any way to force overwrite of a chart with the same version? We use the push plugin for helm and I’m not sure if that functionality exists.
Answer:
Name: K8Crypto
Source: Office Hours Slack
Question: Speaking of ENVs, is there a reason why some pods in same namespace see other pod envs ?
Are those coming from Secrets?
Answer: Services - Kubernetes
Name: Simon Gottschlag
Source: Office Hours Slack
Question: Question: Can I use Istio as “Network Policy” between PODs? I want to limit what services a POD can access. I’m able to do it using ServiceEntry for egress traffic, but not sure about inter-pod communication
Answer:
Name: darren
Source: Office Hours Slack
Question: What are some of the “must have” applications you use to help manage / interact with your kubernetes clusters? Just to give an example of ones I find really useful:
• https://github.com/wercker/stern - for tailing logs from multiple containers
• https://www.telepresence.io/ - for joining your kubernetes network to your local machine
We’re on the cusp of delivering our first k8s cluster our developers and would like suggestions for making it easier on them.
Name: benji
Source: Office Hours Slack
Question: Follow up about the fedv2 question: I installed a Federation with kubefed2 but unlike federationv1 there is no context for the federation itself , will this be implemented in the future?
Answer:
Name: Mark
Source: Office Hours Slack
Question: Question: I am really wondering what the best course of action is to orchestrate global kubernetes clusters. We have global presence and managing cluster by cluster seems fine for a few clusters, but not for 20+ global clusters. Any ideas? With global presence we mean multiple isolated clusters in several AWS regions.
Answer:
Name: eduard-t
Source: Office Hours Slack
Question: Hi! what is your experience with bringing internet traffic into a baremetal cluster? Currently using keepalived vip pointing to a ingress controller nodeport service. Is there a better way to do this?
Answer:
Name: Simon Gottschlag
Source: Office Hours
Question: Question: How are you handling id_tokens with --token=? We are using powershell where we extract the token manually ($idtoken = Get-AdfsIdToken)
and then run it with --token=$idtoken. It works, but feels clonky. Any better way of handling this?
Answer:
Name: Snowcrash
Source: Office Hours Slack
Question: I’ve been struggling with this problem:
kube-system: Pod Warning FailedScheduling default-scheduler no nodes available to schedule pods
for days. There’s a StackOverflow post about it here: https://stackoverflow.com/questions/53381739/kube-system-pod-warning-failedscheduling-default-scheduler-no-nodes-available-t
Answer:
Talk to errordeveloper about eksctl
Name: Nosfert
Source: Office Hours Slack
Question: Question: First, do you think that there is an issue in having replicas defined in the yml? The usecase that we have seen is that we do re-deploys by using the whole file…(this might be wrong/bad) Any and all replica changes that have occurred will then be reseted to the default in the file (if a replica set is defined).
If yes/no, please explain how you would do it.
Answer: