On my kubernetes cluster when i add anything it just gets stuck on pending with no error or anything
When i used describe on one of my deployments pod this is the output:
blizzity2@blizzity2:~$ kubectl describe pod/mysql-deployment-8f6c5fbd4-qgwbx
Name: mysql-deployment-8f6c5fbd4-qgwbx
Namespace: default
Priority: 0
Service Account: default
Node: <none>
Labels: app=mysql
pod-template-hash=8f6c5fbd4
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: ReplicaSet/mysql-deployment-8f6c5fbd4
Containers:
mysql:
Image: mysql:5.7
Port: 3306/TCP
Host Port: 0/TCP
Environment:
MYSQL_ROOT_PASSWORD: <set to the key 'ROOT_PASSWORD' in secret 'mysql-secrets'> Optional: false
Mounts:
/var/lib/mysql from mysql-data (rw,path="mysql")
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-8nr4h (ro)
Volumes:
mysql-data:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: mysql-pv-claim
ReadOnly: false
kube-api-access-8nr4h:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node-role.kubernetes.io/control-plane:NoSchedule op=Exists
node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events: <none>
We can see its stuck on pending and has no events