$ k g pod/opensearch-data-0 -n aaaaaaaadg2cbif7hcycp7mocvwbluu24a3oi2bcgz25kuorvhhu4ozc54wa0 -o yaml apiVersion: v1 kind: Pod metadata: creationTimestamp: "2024-03-17T11:25:57Z" deletionGracePeriodSeconds: 120 deletionTimestamp: "2024-03-17T12:26:21Z" generateName: opensearch-data- labels: app: opensearch-data chart: opensearch controller-revision-hash: opensearch-data-6fffdd79d7 heritage: Helm nodeNamespaceKey: d-4a3oi2bcgz25kuorvhhu4ozc54wa0 release: RELEASE-NAME statefulset.kubernetes.io/pod-name: opensearch-data-0 name: opensearch-data-0 namespace: aaaaaaaadg2cbif7hcycp7mocvwbluu24a3oi2bcgz25kuorvhhu4ozc54wa0 ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: true controller: true kind: StatefulSet name: opensearch-data uid: 26a90d8f-56cd-417a-a691-93b1d3c8b003 resourceVersion: "1402034" uid: fd5dadee-5e40-46ce-83d9-5dc6fc3f896e spec: affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: app operator: In values: - opensearch-data topologyKey: kubernetes.io/hostname containers: - env: - name: node.name valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.name image: iad.ocir.io/axoxdievda5j/oci-opensearch:2.3.0.26.16 imagePullPolicy: IfNotPresent name: opensearch ports: - containerPort: 9200 name: http protocol: TCP - containerPort: 9300 name: transport protocol: TCP - containerPort: 9200 hostPort: 9200 protocol: TCP - containerPort: 9300 hostPort: 9300 protocol: TCP readinessProbe: exec: command: - sh - -c - | #!/usr/bin/env bash -e # If the node is starting up wait for the cluster to be ready (request params: 'wait_for_status=red&timeout=1s&local=true' ) # Once it has started only check that the node itself is responding START_FILE=/tmp/.es_start_file http () { local path="${1}" curl -XGET -s -k --fail --insecure https://127.0.0.1:9200${path} } if [ -f "${START_FILE}" ]; then echo 'Cluster is already running, lets check the node is healthy and there are master nodes available' http "/_cluster/health?timeout=0s&local=true" else echo 'Waiting for cluster to become ready (request params: "wait_for_status=red&timeout=1s&local=true" )' if http "/_cluster/health?wait_for_status=red&timeout=1s&local=true" ; then touch ${START_FILE} exit 0 else echo 'Cluster is not yet ready (request params: "wait_for_status=red&timeout=1s&local=true" )' exit 1 fi fi failureThreshold: 3 initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 3 timeoutSeconds: 5 resources: requests: cpu: "1" memory: 2Gi securityContext: capabilities: drop: - ALL runAsNonRoot: true runAsUser: 12 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /usr/share/opensearch/data name: opensearch-data - mountPath: /etc/pki name: etc-pki - mountPath: /etc/oci-pki name: etc-oci-pki - mountPath: /etc/region name: etc-region readOnly: true - mountPath: /etc/rbcp_core_regions_artifacts name: dynamic-regions-default readOnly: true - mountPath: /var/run/secrets/resource-principal name: resource-principal readOnly: true - mountPath: /var/run/secrets/resource-principal-snapshots name: resource-principal-snapshots readOnly: true - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-sqtg9 readOnly: true dnsPolicy: ClusterFirst enableServiceLinks: true hostname: opensearch-data-0 initContainers: - command: - sysctl - -w - vm.max_map_count=262144 image: iad.ocir.io/axoxdievda5j/oci-opensearch:2.3.0.26.16 imagePullPolicy: IfNotPresent name: configure-sysctl resources: {} securityContext: privileged: true runAsUser: 0 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount name: kube-api-access-sqtg9 readOnly: true nodeName: 10.0.10.0 nodeSelector: nodeNamespaceKey: d-4a3oi2bcgz25kuorvhhu4ozc54wa0 preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 12 runAsUser: 12 serviceAccount: default serviceAccountName: default terminationGracePeriodSeconds: 120 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 volumes: - name: opensearch-data persistentVolumeClaim: claimName: opensearch-data-opensearch-data-0 - hostPath: path: /etc/pki type: Directory name: etc-pki - hostPath: path: /etc/oci-pki type: Directory name: etc-oci-pki - hostPath: path: /etc/region type: File name: etc-region - hostPath: path: /etc/rbcp_core_regions_artifacts type: Directory name: dynamic-regions-default - name: resource-principal secret: defaultMode: 420 secretName: resource-principal-opensearchcluster-unstable-ocid1.opensearchcluster.region1.sea.aaaaaaaadg2cbif7hcycp7mocvwbluu24a3oi2bcgz25kuorvhhu4ozc54wa-0 - name: resource-principal-snapshots secret: defaultMode: 420 secretName: resource-principal-opensearch-unstable-ocid1.opensearchcluster.region1.sea.aaaaaaaadg2cbif7hcycp7mocvwbluu24a3oi2bcgz25kuorvhhu4ozc54wa-0 - name: kube-api-access-sqtg9 projected: defaultMode: 420 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace status: conditions: - lastProbeTime: null lastTransitionTime: "2024-03-17T11:26:35Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2024-03-17T12:23:18Z" status: "False" type: Ready - lastProbeTime: null lastTransitionTime: "2024-03-17T11:27:54Z" status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2024-03-17T11:25:58Z" status: "True" type: PodScheduled containerStatuses: - containerID: cri-o://5d9d69bec0b8b6c93daa8fae3356f2a9ca407179821c1536c5d8891fe326d977 image: iad.ocir.io/axoxdievda5j/oci-opensearch:2.3.0.26.16 imageID: iad.ocir.io/axoxdievda5j/oci-opensearch@sha256:8b7e047d3b3a53c4a31cf9c99e462e921ec8f166e1a6f2cd8918d64e4e86e807 lastState: {} name: opensearch ready: true restartCount: 0 started: true state: running: startedAt: "2024-03-17T11:26:35Z" hostIP: 10.0.10.0 initContainerStatuses: - containerID: cri-o://3d85a88c319d0bbf519549d1a12dccc4cf3764978f7f883f442e5b5bf03c1f44 image: iad.ocir.io/axoxdievda5j/oci-opensearch:2.3.0.26.16 imageID: iad.ocir.io/axoxdievda5j/oci-opensearch@sha256:8b7e047d3b3a53c4a31cf9c99e462e921ec8f166e1a6f2cd8918d64e4e86e807 lastState: {} name: configure-sysctl ready: true restartCount: 0 state: terminated: containerID: cri-o://3d85a88c319d0bbf519549d1a12dccc4cf3764978f7f883f442e5b5bf03c1f44 exitCode: 0 finishedAt: "2024-03-17T11:26:34Z" reason: Completed startedAt: "2024-03-17T11:26:34Z" phase: Running podIP: 172.17.6.163 podIPs: - ip: 172.17.6.163 qosClass: Burstable startTime: "2024-03-17T11:25:58Z"