Open phreekbird opened 2 years ago
It looks like something is up with your k8s installation since k8s-mclist just calls a basic kubectl command.
To find out what pods you have running:
kubectl get pods -n minecraft
Or you could try
kubectl get pods --all-namespaces
If you don't see anything in the first command.
huh those commands work find, i wonder if its cause im using k3s?
So k8s-mclist
only does this
kubectl -n minecraft get deploy -o $format
where format is set using
format=custom-columns=\
NAME:metadata.labels.release\
,MODE:spec.template.spec.containers[0].env[22].value\
,VERSION:spec.template.spec.containers[0].env[2].value\
,SERVER:'spec.template.spec.nodeSelector.kubernetes\.io/hostname'\
,RUNNING:status.availableReplicas
I can only assume that one of the columns in format is missing from your setup for some reason - its not a great errror!
get the above error when i try to list my running mc servers. have no idea how to exec into them and run commands without doing this first as i dunno what the names are.