Closed Dougems closed 1 year ago
Hi @Dougems. The pending volume is very likely your problem. The bootstrap pod is just a helper during setup, and it cannot function alone. Please find out why the volume is pending and I'm pretty sure once you fix that and the nodes-0 pod comes up your problem will go away.
@swoehrl-mw thank you for the reply and assistance. After resolving the issue with the PV everything worked.
Environment
I am running a 2-node MicroK8s cluster on Ubuntu VMs.
This is for development purposes. I know this does not represent a production topology. I am able to deploy pods, daemonsets, etc. using kubectl on all nodes, and based on my usage the cluster appears to be "working".
What I Did
Followed example here: https://github.com/Opster/opensearch-k8s-operator/blob/v2.2.1/docs/userguide/main.md
I modified the cluster.yaml slightly, the example contains "NodeSelector:" which k8s didn't like. I think it's the wrong case. So I used:
Applied:
What Happened
my-first-cluster-nodes-0 never left Pending state:
Log for my-first-cluster-bootstrap-0 ends with entries as shown below that repeat forever (I will attach full log):
my-first-cluster-bootstrap-0.log
Also, it's not clear if the unbound PVC here is contributing to the problem:
Expected
The cluster.yaml above should yield a functional OS cluster
Actual
ERRORs in bootstrap pod