11 Apr 2024 |
| Kurisu joined the room. | 13:26:27 |
| ravi le rochus joined the room. | 14:30:14 |
12 Apr 2024 |
| Psil0 changed their profile picture. | 10:52:44 |
| Elzonk set a profile picture. | 12:10:50 |
15 Apr 2024 |
Rens Houben | I'm trying to set up a k8s cluster behind a proxy, which means it has no external internet connectivity that doesn't go via the proxy, and therefore no default routes. How do I tell it to shut the entire fuck up about Apr 15 10:26:22 curly kubelet[14426]: E0415 10:26:22.674635 14426 kubelet_node_status.go:701] "Failed to set some node status fields" err="can't get ip address of node curly. error: no default routes found in \"/proc/net/route\" or \"/proc/net/ipv6_route\"" node="curly" and just use the actual address I specified in the config? | 08:33:54 |
| @mortero:matrix.org joined the room. | 23:54:23 |
| @mortero:matrix.org left the room. | 23:54:37 |
16 Apr 2024 |
jokeyrhyme | In reply to @rhouben:vac.systemec.nl I'm trying to set up a k8s cluster behind a proxy, which means it has no external internet connectivity that doesn't go via the proxy, and therefore no default routes. How do I tell it to shut the entire fuck up about Apr 15 10:26:22 curly kubelet[14426]: E0415 10:26:22.674635 14426 kubelet_node_status.go:701] "Failed to set some node status fields" err="can't get ip address of node curly. error: no default routes found in \"/proc/net/route\" or \"/proc/net/ipv6_route\"" node="curly" and just use the actual address I specified in the config? This guide suggests keeping the default route but pointing it at a dummy network interface Not sure if that's how most others set up an air-gapped cluster: https://kubernetes.io/blog/2023/10/12/bootstrap-an-air-gapped-cluster-with-kubeadm/ | 04:20:47 |
| एके changed their profile picture. | 19:17:14 |
@thompson_plug:matrix.org | Redacted or Malformed Event | 23:43:55 |
17 Apr 2024 |
Rens Houben | Somebody come and boot the spam bot, please. | 08:08:58 |
Rens Houben | Sheogorath: Spambot in the room. | 08:09:37 |
| morguldir (Old) joined the room. | 08:10:12 |
| Sheogorath banned @thompson_plug:matrix.org (spam). | 08:43:37 |
| Timo joined the room. | 09:27:40 |
Rens Houben | Is it possible to suppress extraneous message output during kubeadm init ?
I'm trying to automate the entire process in an ansible playbook, and I need some way to extract the control panel join command as well as the worker node join command from the kubeadm init output, or at least the values for --token , --discovery-token-ca-cert-hash and --certificate-key so I can form the command to be used on the various other nodes.
| 12:32:11 |
Rens Houben | kubeadm init phase upload-certs --upload-certs --skip-headers
[upload-certs] Storing the certificates in Secret "kubeadm-certs" in the "kube-system" Namespace
[upload-certs] Using certificate key:
a2db3{{ omitted }}3fc58ca7b0410cc412
That's closer to what I want, but there seems to be no way to suppress those two [upload-certs] without resorting to grep, which I'd prefer not to.
| 12:33:17 |
Sheogorath | if you want to set things up with Ansible, I guess the best way is to check how kube-spray does it, as they are the official ansible deployment method: https://kubespray.io | 12:42:03 |
Sheogorath | * if you want to set things up with Ansible, I guess the best way is to check how kube-spray does it, as they are the "official" ansible deployment method: https://kubespray.io | 12:42:16 |
Rens Houben | Yeah, but if I used kubespray directly I'd learn nothing about kubernetes deployment myself. :) | 12:42:29 |
Rens Houben | Thanks for the pointer, I'll give them a read. | 12:42:34 |
Sheogorath | https://github.com/kubernetes-sigs/kubespray/blob/4baa2c8704fe4f091e91630809dc189920b5a1a4/roles/kubernetes/control-plane/tasks/kubeadm-setup.yml#L192-L228 | 12:44:32 |
Rens Houben | Perfect, that looks like what I'll need. | 12:45:32 |
Rens Houben | ... Mind, that is essentially just grepping the output, but hey. :) | 12:53:05 |
sudoer | I've been staring at a failed flux kustomization for like 3 days. Finally figured out I had 2 objects in one file not separated by "---". Kubeconform, yamllint, kustomize build all didn't help me find it, any other sanity checking tools I should be using? | 13:55:37 |
Sheogorath | shouldn't yamllint's key-duplicates rule have caught that, since you had two kind or apiversion keys in the same document? https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.key_duplicates | 14:05:17 |
Sheogorath | Of course an easy way to avoid this issue in first place is to not allow multiple documents in the same file. But that's more of a convention thing, than actually finding the issue. | 14:09:34 |
Feeds | New post in Kubernetes Blog: Kubernetes v1.30: Uwubernetes | 21:00:09 |
DoofusCanadensis | uwu? really? | 21:12:30 |
Sheogorath | yes, that's a thing! | 21:20:21 |