![Discuss Kubernetes Forums](https://i1.feedspot.com/5678060.jpg?t=1699432201)
Discuss Kubernetes Forums
3 FOLLOWERS
Latest topics
Discuss Kubernetes Forums
2h ago
I am using a managed cluster and running into this error when deploying using my pipeline:
This is an excerpt from my pipeline log.
Run if kubectl get secret ghcr-secret --namespace=buzzbrain-namespace; then
if kubectl get secret ghcr-secret --namespace=buzzbrain-namespace; then
kubectl delete secret ghcr-secret --namespace=buzzbrain-namespace
fi
shell: /usr/bin/bash -e {0}
E0726 22:20:17.871655 3215 memcache.go:265] couldn’t get current server API group list: the server has asked for the client to provide credentials
E0726 22:20:18.050997 3215 memcache.go:265] couldn’t get current server API ..read more
Discuss Kubernetes Forums
2h ago
Hi All
Are there helpful web links that would provide guidance or best practices in configuring AWS EKS with new nodes to run Windows containers along with existing Linux Nodes in this new heterogenous nodes of a cluster ?
Microsoft virtualization container site only talk about Azure with Windows containers.
Thank you
1 post - 1 participant
Read full topic ..read more
Discuss Kubernetes Forums
10h ago
Hi everyone!
I want to install kubeflow with gpu support so I adapted to Canonical tutorial and installed (MicroK8s v1.29.4 revision 6809, classic) with nvidia addon.
When I try to deploy kubeflow with :
juju deploy kubeflow --trust --channel=1.8/stable
the deployment gets stuck because of an error with the unit “istio-pilot/0” (see below)
juju status
Model Controller Cloud/Region Version SLA Timestamp
kubeflow uk8sx my-k8s/localhost 3.4.5 unsupported 16:36:15+02:00
App Version Status Scale Charm Channel Rev Address Exposed Message
admission-webhook active 1 admission-webhook 1.8/stable 301 ..read more
Discuss Kubernetes Forums
14h ago
Hi everyone!
I want to install the “gpu” addon to my microk8s (MicroK8s v1.29.5 revision 6884) but it is not found (see commands below):
sudo microk8s enable gpu
Addon gpu was not found in any repository
sudo microk8s status
microk8s is running
high-availability: no
datastore master nodes: 127.0.0.1:19001
datastore standby nodes: none
addons:
enabled:
dns # (core) CoreDNS
ha-cluster # (core) Configure high availability on the current node
helm # (core) Helm - the package manager for Kubernetes
helm3 # (core) Helm 3 - the package manager for Kubernetes
hostpath-storage # (core) Storage class; a ..read more
Discuss Kubernetes Forums
14h ago
Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:
Cloud being used: AWS
Installation method: Kubeadm
Host OS: Amazon linux
CNI and version: not sure
CRI and version: containerd 1.7
[ec2-user@master ~]$ sudo kubeadm init --apiserver-advertise-address=********* --pod-network-cidr=10.0.0.0/16
[init] Using Kubernetes version: v1.30.3
[preflight] Running pre-flight checks
[WARNING FileExisting-tc]: tc not found in system path
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This ..read more
Discuss Kubernetes Forums
19h ago
Hello,
We have a old kubernetes cluster(v1.20.15) which is not upgraded for a long time. We got some time to work on it now. I need some suggestion on the best path to perform the upgrade.
According to my knowledge we can upgrade to one major version one after the other so it would take 8 times to get the cluster upgraded till v1.28.12. Is there a possibility to upgrade to latest by skipping the major version one by one?
Cluster information:
Kubernetes version: v1.20.15
Cloud being used: (put bare-metal if not on a public cloud): self-hosted(hosted with AWS ec2 nodes)
Installation method: Kops ..read more
Discuss Kubernetes Forums
19h ago
Hello Guys,
This is an interview question. The interviewer asked what can we do to make sure at the node level that pods do not run as root user ?
My answer was, if we run the kubernetes server and client components as a non-root user then the container it spaws will also run as a non-root user.
Is that right ? Can we run the kubernetes server and client components as a non-root user and would it spawn a non-root container if we did ?
1 post - 1 participant
Read full topic ..read more
Discuss Kubernetes Forums
19h ago
folks, I need you’re help to understood what happens on the cluster at the moment.
We have a service that works fine on all probes, but got a strange exit code status of 137 with reason as error only, so I’m not sure how to debug further. It’s not an OOM issue as the kernel does not show anything with sudo dmesg -wH on that node.
I’ll provide my analysis bellow and appreciate any response on this topic
Cluster information:
Kubernetes version: v1.30.1-eks-49c6de4
Cloud being used: AWS
Installation method: EKS
Host OS: AMI 1.30.0-20240703
CNI and version: v1.18.2-eksbuild.1
CRI and version: co ..read more
Discuss Kubernetes Forums
19h ago
I’m trying to submit high volumes of one-off commands using Kubernetes. For this, I initially tried using k8s Jobs which seems to be the advertised feature for this use-case.
When I submit my tasks as 100 different k8s Jobs (with completions=1), it takes ~30s to finish. All jobs run the ‘true’ command (I can share the complete JobSpec, if needed).
But when I run submit the same tasks (true commands) directly as k8s pods, it’s much faster. Submitting 100 pods and waiting for them to finish takes just ~10s. 3x faster than Jobs!
My understanding is that Jobs also create Pods underneath (and do so ..read more
Discuss Kubernetes Forums
19h ago
Cluster information:
Kubernetes version: Server Version: v1.24.0 / Client Version: v1.30.2
Cloud being used: NA
Installation method: NA
Host OS: Linux
CNI and version: NA
CRI and version: NA
Hello,
In my team we are writing an operator that, until now, was relying on kubebuilder markers for default values and validation.
Now we are implementing admission control and I noticed that, when using the webhook.CustomDefaulter interface to set some defaults that require actual code processing, at the end the update gets rejected with this kind of message
The ApiDefinition "api-with-context" is inval ..read more