From 4960d7a9ec6f9ce0af512b974e6378ffcd8afa26 Mon Sep 17 00:00:00 2001 From: framsouza Date: Thu, 14 Jul 2022 00:38:10 +0200 Subject: [PATCH] first commit --- README.md | 3 + cmd/main.go | 28 + go.mod | 3 + pkg/load/load.go | 1899 +++ pkg/resources/deployment.go | 28 + pkg/resources/elasticsearch.go | 32 + pkg/resources/events.go | 28 + pkg/resources/kibana.go | 31 + pkg/resources/nodes.go | 32 + pkg/resources/pods.go | 57 + pkg/resources/pvc.go | 30 + pkg/resources/statefulset.go | 38 + pkg/resources/version.go | 34 + pods.json | 20421 +++++++++++++++++++++++++++++++ 14 files changed, 22664 insertions(+) create mode 100644 README.md create mode 100644 cmd/main.go create mode 100644 go.mod create mode 100644 pkg/load/load.go create mode 100644 pkg/resources/deployment.go create mode 100644 pkg/resources/elasticsearch.go create mode 100644 pkg/resources/events.go create mode 100644 pkg/resources/kibana.go create mode 100644 pkg/resources/nodes.go create mode 100644 pkg/resources/pods.go create mode 100644 pkg/resources/pvc.go create mode 100644 pkg/resources/statefulset.go create mode 100644 pkg/resources/version.go create mode 100644 pods.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..e07d13b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# eck-diagnostics-parser + +_(WIP)_ \ No newline at end of file diff --git a/cmd/main.go b/cmd/main.go new file mode 100644 index 0000000..fff9f0f --- /dev/null +++ b/cmd/main.go @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + + resources "github.com/framsouza/eck-diagnostics-parser/pkg/resources" +) + +// DON'T FORGET!!! REMEMBER TO FIND ANOTHER WAY TO PASS THE FILE NAMES TO THE FUNCITONS!!!!! +// CREATE A SUMMARY summary.go CHECKING IF THE SVC LABELS EXISTS, AND WITH SOME RECOMMENDATIONS +// CHECK IF STORAGECLASS FILE EXISTS AND PRINT IT +// TREAT ERRORS AND LOGS + +func main() { + fmt.Print("\nWelcome to the ECK diagnostic parser tool\n") + // Print ECK version + resources.DiagV() + resources.ECKV() // Remove time/date from the line + resources.Nodes() + resources.Pods() + resources.Es() + resources.Kibana() + resources.StatefulSet() + resources.Deployment() + resources.PVC() + //resources.Events() + +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..5e5515f --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/framsouza/eck-diagnostics-parser + +go 1.17 diff --git a/pkg/load/load.go b/pkg/load/load.go new file mode 100644 index 0000000..d39b065 --- /dev/null +++ b/pkg/load/load.go @@ -0,0 +1,1899 @@ +package load + +import ( + "encoding/json" + "os" + "time" +) + +type Nodes struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + Annotations struct { + Node_Alpha_Kubernetes_Io_Ttl string `json:"node.alpha.kubernetes.io/ttl"` + Volumes_kubernetes_io_controllerManagedAttachDetach string `json:"volumes.kubernetes.io/controller-managed-attach-detach"` + } `json:"annotations"` + CreationTimestamp time.Time `json:"creationTimestamp"` + Labels struct { + Environment string `json:"Environment"` + Team string `json:"Team"` + Terraform string `json:"Terraform"` + Beta_Kubernetes_Io_Arch string `json:"beta.kubernetes.io/arch"` + Beta_kubernetes_io_instanceType string `json:"beta.kubernetes.io/instance-type"` + Beta_Kubernetes_Io_OS string `json:"beta.kubernetes.io/os"` + Eks_Amazonaws_Com_CapacityType string `json:"eks.amazonaws.com/capacityType"` + Eks_Amazonaws_Com_Nodegroup string `json:"eks.amazonaws.com/nodegroup"` + Eks_amazonaws_com_nodegroupImage string `json:"eks.amazonaws.com/nodegroup-image"` + FailureDomain_beta_kubernetes_io_region string `json:"failure-domain.beta.kubernetes.io/region"` + FailureDomain_beta_kubernetes_io_zone string `json:"failure-domain.beta.kubernetes.io/zone"` + Kubernetes_Io_Arch string `json:"kubernetes.io/arch"` + Kubernetes_Io_Hostname string `json:"kubernetes.io/hostname"` + Kubernetes_Io_OS string `json:"kubernetes.io/os"` + Node_kubernetes_io_instanceType string `json:"node.kubernetes.io/instance-type"` + Topology_Kubernetes_Io_Region string `json:"topology.kubernetes.io/region"` + Topology_Kubernetes_Io_Zone string `json:"topology.kubernetes.io/zone"` + } `json:"labels"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata struct { + F_Annotations struct { + _ *struct{} `json:".,omitempty"` + F_Node_Alpha_Kubernetes_Io_Ttl *struct{} `json:"f:node.alpha.kubernetes.io/ttl,omitempty"` + F_volumes_kubernetes_io_controllerManagedAttachDetach *struct{} `json:"f:volumes.kubernetes.io/controller-managed-attach-detach,omitempty"` + } `json:"f:annotations"` + F_Labels *struct { + _ struct{} `json:"."` + F_Environment struct{} `json:"f:Environment"` + F_Team struct{} `json:"f:Team"` + F_Terraform struct{} `json:"f:Terraform"` + F_Beta_Kubernetes_Io_Arch struct{} `json:"f:beta.kubernetes.io/arch"` + F_beta_kubernetes_io_instanceType struct{} `json:"f:beta.kubernetes.io/instance-type"` + F_Beta_Kubernetes_Io_OS struct{} `json:"f:beta.kubernetes.io/os"` + F_Eks_Amazonaws_Com_CapacityType struct{} `json:"f:eks.amazonaws.com/capacityType"` + F_Eks_Amazonaws_Com_Nodegroup struct{} `json:"f:eks.amazonaws.com/nodegroup"` + F_eks_amazonaws_com_nodegroupImage struct{} `json:"f:eks.amazonaws.com/nodegroup-image"` + F_failureDomain_beta_kubernetes_io_region struct{} `json:"f:failure-domain.beta.kubernetes.io/region"` + F_failureDomain_beta_kubernetes_io_zone struct{} `json:"f:failure-domain.beta.kubernetes.io/zone"` + F_Kubernetes_Io_Arch struct{} `json:"f:kubernetes.io/arch"` + F_Kubernetes_Io_Hostname struct{} `json:"f:kubernetes.io/hostname"` + F_Kubernetes_Io_OS struct{} `json:"f:kubernetes.io/os"` + F_node_kubernetes_io_instanceType struct{} `json:"f:node.kubernetes.io/instance-type"` + F_Topology_Kubernetes_Io_Region struct{} `json:"f:topology.kubernetes.io/region"` + F_Topology_Kubernetes_Io_Zone struct{} `json:"f:topology.kubernetes.io/zone"` + } `json:"f:labels,omitempty"` + } `json:"f:metadata"` + F_Spec *struct { + F_ProviderID struct{} `json:"f:providerID"` + } `json:"f:spec,omitempty"` + F_Status struct { + F_Allocatable *struct { + F_ephemeralStorage struct{} `json:"f:ephemeral-storage"` + } `json:"f:allocatable,omitempty"` + F_Capacity *struct { + F_ephemeralStorage struct{} `json:"f:ephemeral-storage"` + } `json:"f:capacity,omitempty"` + F_Conditions *struct { + // "k:{\"type\":\"DiskPressure\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"type\":\"MemoryPressure\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"type\":\"PIDPressure\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"type\":\"Ready\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:conditions,omitempty"` + F_Images *struct{} `json:"f:images,omitempty"` + F_VolumesAttached *struct{} `json:"f:volumesAttached,omitempty"` + F_VolumesInUse *struct{} `json:"f:volumesInUse,omitempty"` + } `json:"f:status"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + ProviderID string `json:"providerID"` + } `json:"spec"` + Status struct { + Addresses []struct { + Address string `json:"address"` + Type string `json:"type"` + } `json:"addresses"` + Allocatable struct { + AttachableVolumesAwsEbs string `json:"attachable-volumes-aws-ebs"` + Cpu string `json:"cpu"` + EphemeralStorage string `json:"ephemeral-storage"` + Hugepages1Gi string `json:"hugepages-1Gi"` + Hugepages2Mi string `json:"hugepages-2Mi"` + Memory string `json:"memory"` + Pods string `json:"pods"` + } `json:"allocatable"` + Capacity struct { + AttachableVolumesAwsEbs string `json:"attachable-volumes-aws-ebs"` + Cpu string `json:"cpu"` + EphemeralStorage string `json:"ephemeral-storage"` + Hugepages1Gi string `json:"hugepages-1Gi"` + Hugepages2Mi string `json:"hugepages-2Mi"` + Memory string `json:"memory"` + Pods string `json:"pods"` + } `json:"capacity"` + Conditions []struct { + LastHeartbeatTime time.Time `json:"lastHeartbeatTime"` + LastTransitionTime time.Time `json:"lastTransitionTime"` + Message string `json:"message"` + Reason string `json:"reason"` + Status string `json:"status"` + Type string `json:"type"` + } `json:"conditions"` + DaemonEndpoints struct { + KubeletEndpoint struct { + Port int `json:"Port"` + } `json:"kubeletEndpoint"` + } `json:"daemonEndpoints"` + Images []struct { + Names []string `json:"names"` + SizeBytes int `json:"sizeBytes"` + } `json:"images"` + NodeInfo struct { + Architecture string `json:"architecture"` + BootID string `json:"bootID"` + ContainerRuntimeVersion string `json:"containerRuntimeVersion"` + KernelVersion string `json:"kernelVersion"` + KubeProxyVersion string `json:"kubeProxyVersion"` + KubeletVersion string `json:"kubeletVersion"` + MachineID string `json:"machineID"` + OperatingSystem string `json:"operatingSystem"` + OSImage string `json:"osImage"` + SystemUuid string `json:"systemUUID"` + } `json:"nodeInfo"` + VolumesAttached []struct { + DevicePath string `json:"devicePath"` + Name string `json:"name"` + } `json:"volumesAttached"` + VolumesInUse []string `json:"volumesInUse"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type Pods struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + Annotations struct { + Co_Elastic_Logs_Module string `json:"co.elastic.logs/module"` + Kubernetes_Io_Psp string `json:"kubernetes.io/psp"` + Update_K8S_Elastic_Co_Timestamp time.Time `json:"update.k8s.elastic.co/timestamp,omitempty"` + } `json:"annotations"` + CreationTimestamp time.Time `json:"creationTimestamp"` + GenerateName string `json:"generateName"` + Labels struct { + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + ControllerRevisionHash string `json:"controller-revision-hash,omitempty"` + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name,omitempty"` + Elasticsearch_k8s_elastic_co_configHash string `json:"elasticsearch.k8s.elastic.co/config-hash,omitempty"` + Elasticsearch_k8s_elastic_co_httpScheme string `json:"elasticsearch.k8s.elastic.co/http-scheme,omitempty"` + Elasticsearch_k8s_elastic_co_nodeData string `json:"elasticsearch.k8s.elastic.co/node-data,omitempty"` + Elasticsearch_k8s_elastic_co_nodeData_cold string `json:"elasticsearch.k8s.elastic.co/node-data_cold,omitempty"` + Elasticsearch_k8s_elastic_co_nodeData_content string `json:"elasticsearch.k8s.elastic.co/node-data_content,omitempty"` + Elasticsearch_k8s_elastic_co_nodeData_hot string `json:"elasticsearch.k8s.elastic.co/node-data_hot,omitempty"` + Elasticsearch_k8s_elastic_co_nodeData_warm string `json:"elasticsearch.k8s.elastic.co/node-data_warm,omitempty"` + Elasticsearch_k8s_elastic_co_nodeIngest string `json:"elasticsearch.k8s.elastic.co/node-ingest,omitempty"` + Elasticsearch_k8s_elastic_co_nodeMaster string `json:"elasticsearch.k8s.elastic.co/node-master,omitempty"` + Elasticsearch_k8s_elastic_co_nodeMl string `json:"elasticsearch.k8s.elastic.co/node-ml,omitempty"` + Elasticsearch_k8s_elastic_co_nodeRemote_cluster_client string `json:"elasticsearch.k8s.elastic.co/node-remote_cluster_client,omitempty"` + Elasticsearch_k8s_elastic_co_nodeTransform string `json:"elasticsearch.k8s.elastic.co/node-transform,omitempty"` + Elasticsearch_k8s_elastic_co_nodeVoting_only string `json:"elasticsearch.k8s.elastic.co/node-voting_only,omitempty"` + Elasticsearch_k8s_elastic_co_secureSettingsHash string `json:"elasticsearch.k8s.elastic.co/secure-settings-hash,omitempty"` + Elasticsearch_k8s_elastic_co_statefulsetName string `json:"elasticsearch.k8s.elastic.co/statefulset-name,omitempty"` + Elasticsearch_K8S_Elastic_Co_Version string `json:"elasticsearch.k8s.elastic.co/version,omitempty"` + Kibana_k8s_elastic_co_configChecksum string `json:"kibana.k8s.elastic.co/config-checksum,omitempty"` + Kibana_K8S_Elastic_Co_Name string `json:"kibana.k8s.elastic.co/name,omitempty"` + Kibana_K8S_Elastic_Co_Version string `json:"kibana.k8s.elastic.co/version,omitempty"` + PodTemplateHash string `json:"pod-template-hash,omitempty"` + Statefulset_kubernetes_io_podName string `json:"statefulset.kubernetes.io/pod-name,omitempty"` + } `json:"labels"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata *struct { + F_Annotations struct { + _ *struct{} `json:".,omitempty"` + F_Co_Elastic_Logs_Module *struct{} `json:"f:co.elastic.logs/module,omitempty"` + F_Update_K8S_Elastic_Co_Timestamp *struct{} `json:"f:update.k8s.elastic.co/timestamp,omitempty"` + } `json:"f:annotations"` + F_GenerateName *struct{} `json:"f:generateName,omitempty"` + F_Labels *struct { + _ struct{} `json:"."` + F_Common_K8S_Elastic_Co_Type struct{} `json:"f:common.k8s.elastic.co/type"` + F_controllerRevisionHash *struct{} `json:"f:controller-revision-hash,omitempty"` + F_elasticsearch_k8s_elastic_co_clusterName *struct{} `json:"f:elasticsearch.k8s.elastic.co/cluster-name,omitempty"` + F_elasticsearch_k8s_elastic_co_configHash *struct{} `json:"f:elasticsearch.k8s.elastic.co/config-hash,omitempty"` + F_elasticsearch_k8s_elastic_co_httpScheme *struct{} `json:"f:elasticsearch.k8s.elastic.co/http-scheme,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeData *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeData_cold *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_cold,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeData_content *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_content,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeData_hot *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_hot,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeData_warm *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_warm,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeIngest *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-ingest,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeMaster *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-master,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeMl *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-ml,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeRemote_cluster_client *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-remote_cluster_client,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeTransform *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-transform,omitempty"` + F_elasticsearch_k8s_elastic_co_nodeVoting_only *struct{} `json:"f:elasticsearch.k8s.elastic.co/node-voting_only,omitempty"` + F_elasticsearch_k8s_elastic_co_secureSettingsHash *struct{} `json:"f:elasticsearch.k8s.elastic.co/secure-settings-hash,omitempty"` + F_elasticsearch_k8s_elastic_co_statefulsetName *struct{} `json:"f:elasticsearch.k8s.elastic.co/statefulset-name,omitempty"` + F_Elasticsearch_K8S_Elastic_Co_Version *struct{} `json:"f:elasticsearch.k8s.elastic.co/version,omitempty"` + F_kibana_k8s_elastic_co_configChecksum *struct{} `json:"f:kibana.k8s.elastic.co/config-checksum,omitempty"` + F_Kibana_K8S_Elastic_Co_Name *struct{} `json:"f:kibana.k8s.elastic.co/name,omitempty"` + F_Kibana_K8S_Elastic_Co_Version *struct{} `json:"f:kibana.k8s.elastic.co/version,omitempty"` + F_podTemplateHash *struct{} `json:"f:pod-template-hash,omitempty"` + F_statefulset_kubernetes_io_podName *struct{} `json:"f:statefulset.kubernetes.io/pod-name,omitempty"` + } `json:"f:labels,omitempty"` + F_OwnerReferences *struct { + _ struct{} `json:"."` + // "k:{\"uid\":\"256808fd-92b4-4b0a-acd1-9989784bdd5d\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"uid\":\"2d752cc2-77ac-42b7-a12a-f44e075eb5e0\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"uid\":\"44d8a127-6a4c-4d2b-a2da-04ccf15a9be7\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"uid\":\"fa62d79b-23e1-4fa7-b27b-129902597736\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:ownerReferences,omitempty"` + } `json:"f:metadata,omitempty"` + F_Spec *struct { + F_Affinity *struct { + _ struct{} `json:"."` + F_PodAntiAffinity struct { + _ struct{} `json:"."` + F_PreferredDuringSchedulingIgnoredDuringExecution struct{} `json:"f:preferredDuringSchedulingIgnoredDuringExecution"` + } `json:"f:podAntiAffinity"` + } `json:"f:affinity,omitempty"` + F_AutomountServiceAccountToken struct{} `json:"f:automountServiceAccountToken"` + F_Containers struct { + // "k:{\"name\":\"elasticsearch\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"kibana\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:containers"` + F_DnsPolicy struct{} `json:"f:dnsPolicy"` + F_EnableServiceLinks struct{} `json:"f:enableServiceLinks"` + F_Hostname *struct{} `json:"f:hostname,omitempty"` + F_InitContainers struct { + _ struct{} `json:"."` + // "k:{\"name\":\"elastic-internal-init-config\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-init-filesystem\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-init-keystore\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-suspend\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"install-plugins\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:initContainers"` + F_RestartPolicy struct{} `json:"f:restartPolicy"` + F_SchedulerName struct{} `json:"f:schedulerName"` + F_SecurityContext struct{} `json:"f:securityContext"` + F_Subdomain *struct{} `json:"f:subdomain,omitempty"` + F_TerminationGracePeriodSeconds struct{} `json:"f:terminationGracePeriodSeconds"` + F_Volumes struct { + _ struct{} `json:"."` + // "k:{\"name\":\"downward-api\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-config\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-http-certificates\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-kibana-config\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-kibana-config-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-probe-user\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-scripts\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-secure-settings\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-transport-certificates\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-unicast-hosts\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-xpack-file-realm\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elasticsearch-certs\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elasticsearch-data\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elasticsearch-logs\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"kibana-data\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:volumes"` + } `json:"f:spec,omitempty"` + F_Status *struct { + F_Conditions struct { + // "k:{\"type\":\"ContainersReady\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"type\":\"Initialized\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"type\":\"Ready\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:conditions"` + F_ContainerStatuses struct{} `json:"f:containerStatuses"` + F_HostIp struct{} `json:"f:hostIP"` + F_InitContainerStatuses struct{} `json:"f:initContainerStatuses"` + F_Phase struct{} `json:"f:phase"` + F_PodIp struct{} `json:"f:podIP"` + F_PodIPs struct { + _ struct{} `json:"."` + // "k:{\"ip\":\"10.52.1.120\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.1.155\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.1.19\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.1.81\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.2.147\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.2.218\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.2.231\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.3.240\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.3.245\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"ip\":\"10.52.3.95\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:podIPs"` + F_StartTime struct{} `json:"f:startTime"` + } `json:"f:status,omitempty"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + OwnerReferences []struct { + APIVersion string `json:"apiVersion"` + BlockOwnerDeletion bool `json:"blockOwnerDeletion"` + Controller bool `json:"controller"` + Kind string `json:"kind"` + Name string `json:"name"` + Uid string `json:"uid"` + } `json:"ownerReferences"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + Affinity *struct { + PodAntiAffinity struct { + PreferredDuringSchedulingIgnoredDuringExecution []struct { + PodAffinityTerm struct { + LabelSelector struct { + MatchLabels struct { + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name"` + } `json:"matchLabels"` + } `json:"labelSelector"` + TopologyKey string `json:"topologyKey"` + } `json:"podAffinityTerm"` + Weight int `json:"weight"` + } `json:"preferredDuringSchedulingIgnoredDuringExecution"` + } `json:"podAntiAffinity"` + } `json:"affinity,omitempty"` + AutomountServiceAccountToken bool `json:"automountServiceAccountToken"` + Containers []struct { + Env []struct { + Name string `json:"name"` + Value string `json:"value,omitempty"` + ValueFrom *struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + } `json:"valueFrom,omitempty"` + } `json:"env,omitempty"` + Image string `json:"image"` + ImagePullPolicy string `json:"imagePullPolicy"` + Lifecycle *struct { + PreStop struct { + Exec struct { + Command []string `json:"command"` + } `json:"exec"` + } `json:"preStop"` + } `json:"lifecycle,omitempty"` + Name string `json:"name"` + Ports []struct { + ContainerPort int `json:"containerPort"` + Name string `json:"name"` + Protocol string `json:"protocol"` + } `json:"ports"` + ReadinessProbe struct { + Exec *struct { + Command []string `json:"command"` + } `json:"exec,omitempty"` + FailureThreshold int `json:"failureThreshold"` + HTTPGet *struct { + Path string `json:"path"` + Port int `json:"port"` + Scheme string `json:"scheme"` + } `json:"httpGet,omitempty"` + InitialDelaySeconds int `json:"initialDelaySeconds,omitempty"` + PeriodSeconds int `json:"periodSeconds"` + SuccessThreshold int `json:"successThreshold"` + TimeoutSeconds int `json:"timeoutSeconds"` + } `json:"readinessProbe"` + Resources struct { + Limits struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + TerminationMessagePath string `json:"terminationMessagePath"` + TerminationMessagePolicy string `json:"terminationMessagePolicy"` + VolumeMounts []struct { + MountPath string `json:"mountPath"` + Name string `json:"name"` + ReadOnly bool `json:"readOnly,omitempty"` + } `json:"volumeMounts"` + } `json:"containers"` + DnsPolicy string `json:"dnsPolicy"` + EnableServiceLinks bool `json:"enableServiceLinks"` + Hostname string `json:"hostname,omitempty"` + InitContainers []struct { + Command []string `json:"command"` + Env []struct { + Name string `json:"name"` + Value string `json:"value,omitempty"` + ValueFrom *struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + } `json:"valueFrom,omitempty"` + } `json:"env"` + Image string `json:"image"` + ImagePullPolicy string `json:"imagePullPolicy"` + Name string `json:"name"` + Resources struct { + Limits struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + SecurityContext *struct { + Privileged bool `json:"privileged"` + } `json:"securityContext,omitempty"` + TerminationMessagePath string `json:"terminationMessagePath"` + TerminationMessagePolicy string `json:"terminationMessagePolicy"` + VolumeMounts []struct { + MountPath string `json:"mountPath"` + Name string `json:"name"` + ReadOnly bool `json:"readOnly,omitempty"` + } `json:"volumeMounts"` + } `json:"initContainers"` + NodeName string `json:"nodeName"` + PreemptionPolicy string `json:"preemptionPolicy"` + Priority int `json:"priority"` + RestartPolicy string `json:"restartPolicy"` + SchedulerName string `json:"schedulerName"` + SecurityContext struct{} `json:"securityContext"` + ServiceAccount string `json:"serviceAccount"` + ServiceAccountName string `json:"serviceAccountName"` + Subdomain string `json:"subdomain,omitempty"` + TerminationGracePeriodSeconds int `json:"terminationGracePeriodSeconds"` + Tolerations []struct { + Effect string `json:"effect"` + Key string `json:"key"` + Operator string `json:"operator"` + TolerationSeconds int `json:"tolerationSeconds"` + } `json:"tolerations"` + Volumes []struct { + ConfigMap *struct { + DefaultMode int `json:"defaultMode"` + Name string `json:"name"` + Optional bool `json:"optional"` + } `json:"configMap,omitempty"` + DownwardAPI *struct { + DefaultMode int `json:"defaultMode"` + Items []struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + Path string `json:"path"` + } `json:"items"` + } `json:"downwardAPI,omitempty"` + EmptyDir *struct{} `json:"emptyDir,omitempty"` + Name string `json:"name"` + PersistentVolumeClaim *struct { + ClaimName string `json:"claimName"` + } `json:"persistentVolumeClaim,omitempty"` + Secret *struct { + DefaultMode int `json:"defaultMode"` + Items []struct { + Key string `json:"key"` + Path string `json:"path"` + } `json:"items,omitempty"` + Optional bool `json:"optional"` + SecretName string `json:"secretName"` + } `json:"secret,omitempty"` + } `json:"volumes"` + } `json:"spec"` + Status struct { + Conditions []struct { + LastProbeTime interface{} `json:"lastProbeTime"` + LastTransitionTime time.Time `json:"lastTransitionTime"` + Status string `json:"status"` + Type string `json:"type"` + } `json:"conditions"` + ContainerStatuses []struct { + ContainerID string `json:"containerID"` + Image string `json:"image"` + ImageID string `json:"imageID"` + LastState struct{} `json:"lastState"` + Name string `json:"name"` + Ready bool `json:"ready"` + RestartCount int `json:"restartCount"` + Started bool `json:"started"` + State struct { + Running struct { + StartedAt time.Time `json:"startedAt"` + } `json:"running"` + } `json:"state"` + } `json:"containerStatuses"` + HostIp string `json:"hostIP"` + InitContainerStatuses []struct { + ContainerID string `json:"containerID"` + Image string `json:"image"` + ImageID string `json:"imageID"` + LastState struct{} `json:"lastState"` + Name string `json:"name"` + Ready bool `json:"ready"` + RestartCount int `json:"restartCount"` + State struct { + Terminated struct { + ContainerID string `json:"containerID"` + ExitCode int `json:"exitCode"` + FinishedAt time.Time `json:"finishedAt"` + Reason string `json:"reason"` + StartedAt time.Time `json:"startedAt"` + } `json:"terminated"` + } `json:"state"` + } `json:"initContainerStatuses"` + Phase string `json:"phase"` + PodIp string `json:"podIP"` + PodIPs []struct { + Ip string `json:"ip"` + } `json:"podIPs"` + QosClass string `json:"qosClass"` + StartTime time.Time `json:"startTime"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type ES struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + Annotations struct { + Common_k8s_elastic_co_controllerVersion string `json:"common.k8s.elastic.co/controller-version"` + Elasticsearch_k8s_elastic_co_clusterUuid string `json:"elasticsearch.k8s.elastic.co/cluster-uuid"` + Kubectl_kubernetes_io_lastAppliedConfiguration string `json:"kubectl.kubernetes.io/last-applied-configuration"` + } `json:"annotations"` + CreationTimestamp time.Time `json:"creationTimestamp"` + Generation int `json:"generation"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata struct { + F_Annotations struct { + _ *struct{} `json:".,omitempty"` + F_common_k8s_elastic_co_controllerVersion *struct{} `json:"f:common.k8s.elastic.co/controller-version,omitempty"` + F_elasticsearch_k8s_elastic_co_clusterUuid *struct{} `json:"f:elasticsearch.k8s.elastic.co/cluster-uuid,omitempty"` + F_kubectl_kubernetes_io_lastAppliedConfiguration *struct{} `json:"f:kubectl.kubernetes.io/last-applied-configuration,omitempty"` + } `json:"f:annotations"` + } `json:"f:metadata"` + F_Spec struct { + _ *struct{} `json:".,omitempty"` + F_Auth *struct{} `json:"f:auth,omitempty"` + F_HTTP struct { + _ *struct{} `json:".,omitempty"` + F_Service *struct { + _ struct{} `json:"."` + F_Metadata struct { + _ struct{} `json:"."` + F_Annotations struct { + _ struct{} `json:"."` + F_service_beta_kubernetes_io_awsLoadBalancerInternal struct{} `json:"f:service.beta.kubernetes.io/aws-load-balancer-internal"` + F_service_beta_kubernetes_io_awsLoadBalancerType struct{} `json:"f:service.beta.kubernetes.io/aws-load-balancer-type"` + } `json:"f:annotations"` + } `json:"f:metadata"` + F_Spec struct { + _ struct{} `json:"."` + F_Type struct{} `json:"f:type"` + } `json:"f:spec"` + } `json:"f:service,omitempty"` + F_Tls *struct { + _ struct{} `json:"."` + F_Certificate struct{} `json:"f:certificate"` + } `json:"f:tls,omitempty"` + } `json:"f:http"` + F_Monitoring *struct { + _ struct{} `json:"."` + F_Logs struct{} `json:"f:logs"` + F_Metrics struct{} `json:"f:metrics"` + } `json:"f:monitoring,omitempty"` + F_NodeSets *struct{} `json:"f:nodeSets,omitempty"` + F_SecureSettings *struct{} `json:"f:secureSettings,omitempty"` + F_Transport *struct { + _ struct{} `json:"."` + F_Service struct { + _ struct{} `json:"."` + F_Metadata struct{} `json:"f:metadata"` + F_Spec struct{} `json:"f:spec"` + } `json:"f:service"` + F_Tls struct { + _ struct{} `json:"."` + F_Certificate struct{} `json:"f:certificate"` + } `json:"f:tls"` + } `json:"f:transport,omitempty"` + F_UpdateStrategy *struct { + _ struct{} `json:"."` + F_ChangeBudget struct{} `json:"f:changeBudget"` + } `json:"f:updateStrategy,omitempty"` + F_Version *struct{} `json:"f:version,omitempty"` + } `json:"f:spec"` + F_Status *struct { + _ struct{} `json:"."` + F_AvailableNodes struct{} `json:"f:availableNodes"` + F_Health struct{} `json:"f:health"` + F_Phase struct{} `json:"f:phase"` + F_Version struct{} `json:"f:version"` + } `json:"f:status,omitempty"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + Auth struct{} `json:"auth"` + HTTP struct { + Service struct { + Metadata struct { + Annotations struct { + Service_beta_kubernetes_io_awsLoadBalancerInternal string `json:"service.beta.kubernetes.io/aws-load-balancer-internal"` + Service_beta_kubernetes_io_awsLoadBalancerType string `json:"service.beta.kubernetes.io/aws-load-balancer-type"` + } `json:"annotations"` + } `json:"metadata"` + Spec struct { + Type string `json:"type"` + } `json:"spec"` + } `json:"service"` + Tls struct { + Certificate struct{} `json:"certificate"` + } `json:"tls"` + } `json:"http"` + Monitoring struct { + Logs struct{} `json:"logs"` + Metrics struct{} `json:"metrics"` + } `json:"monitoring"` + NodeSets []struct { + Config struct { + Node_Roles []string `json:"node.roles"` + Xpack_Ml_Enabled bool `json:"xpack.ml.enabled,omitempty"` + Xpack_Security_Authc_Realms struct { + File_File1 struct { + Order int `json:"order"` + } `json:"file.file1"` + Native_Native1 struct { + Order int `json:"order"` + } `json:"native.native1"` + Oidc_Oidc1 struct { + Claims_Groups string `json:"claims.groups"` + Claims_Principal string `json:"claims.principal"` + Op_authorizationEndpoint string `json:"op.authorization_endpoint"` + Op_endsessionEndpoint string `json:"op.endsession_endpoint"` + Op_Issuer string `json:"op.issuer"` + Op_jwksetPath string `json:"op.jwkset_path"` + Op_tokenEndpoint string `json:"op.token_endpoint"` + Op_userinfoEndpoint string `json:"op.userinfo_endpoint"` + Order int `json:"order"` + Rp_clientID string `json:"rp.client_id"` + Rp_postLogoutRedirectURI string `json:"rp.post_logout_redirect_uri"` + Rp_redirectURI string `json:"rp.redirect_uri"` + Rp_responseType string `json:"rp.response_type"` + } `json:"oidc.oidc1"` + } `json:"xpack.security.authc.realms"` + Xpack_Security_Authc_Token_Enabled bool `json:"xpack.security.authc.token.enabled"` + Xpack_Security_Enabled bool `json:"xpack.security.enabled"` + Xpack_security_http_ssl_clientAuthentication string `json:"xpack.security.http.ssl.client_authentication"` + Xpack_Security_HTTP_Ssl_Enabled bool `json:"xpack.security.http.ssl.enabled"` + Xpack_Security_Transport_Ssl_Enabled bool `json:"xpack.security.transport.ssl.enabled"` + } `json:"config"` + Count int `json:"count"` + Name string `json:"name"` + PodTemplate struct { + Spec struct { + Containers []struct { + Env []struct { + Name string `json:"name"` + Value string `json:"value"` + } `json:"env"` + Name string `json:"name"` + Resources struct { + Limits struct { + Cpu int `json:"cpu"` + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Cpu int `json:"cpu"` + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + } `json:"containers,omitempty"` + InitContainers []struct { + Command []string `json:"command"` + Name string `json:"name"` + } `json:"initContainers"` + } `json:"spec"` + } `json:"podTemplate"` + VolumeClaimTemplates []struct { + Metadata struct { + Name string `json:"name"` + } `json:"metadata"` + Spec struct { + AccessModes []string `json:"accessModes"` + Resources struct { + Requests struct { + Storage string `json:"storage"` + } `json:"requests"` + } `json:"resources"` + } `json:"spec"` + } `json:"volumeClaimTemplates"` + } `json:"nodeSets"` + SecureSettings []struct { + SecretName string `json:"secretName"` + } `json:"secureSettings"` + Transport struct { + Service struct { + Metadata struct{} `json:"metadata"` + Spec struct{} `json:"spec"` + } `json:"service"` + Tls struct { + Certificate struct{} `json:"certificate"` + } `json:"tls"` + } `json:"transport"` + UpdateStrategy struct { + ChangeBudget struct{} `json:"changeBudget"` + } `json:"updateStrategy"` + Version string `json:"version"` + } `json:"spec"` + Status struct { + AvailableNodes int `json:"availableNodes"` + Health string `json:"health"` + Phase string `json:"phase"` + Version string `json:"version"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type Events struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Count int `json:"count"` + EventTime interface{} `json:"eventTime"` + FirstTimestamp time.Time `json:"firstTimestamp"` + InvolvedObject struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath,omitempty"` + Kind string `json:"kind"` + Name string `json:"name"` + Namespace string `json:"namespace"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"involvedObject"` + Kind string `json:"kind"` + LastTimestamp time.Time `json:"lastTimestamp"` + Message string `json:"message"` + Metadata struct { + CreationTimestamp time.Time `json:"creationTimestamp"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Count struct{} `json:"f:count"` + F_FirstTimestamp struct{} `json:"f:firstTimestamp"` + F_InvolvedObject struct { + F_APIVersion struct{} `json:"f:apiVersion"` + F_FieldPath *struct{} `json:"f:fieldPath,omitempty"` + F_Kind struct{} `json:"f:kind"` + F_Name struct{} `json:"f:name"` + F_Namespace struct{} `json:"f:namespace"` + F_ResourceVersion struct{} `json:"f:resourceVersion"` + F_Uid struct{} `json:"f:uid"` + } `json:"f:involvedObject"` + F_LastTimestamp struct{} `json:"f:lastTimestamp"` + F_Message struct{} `json:"f:message"` + F_Reason struct{} `json:"f:reason"` + F_Source struct { + F_Component struct{} `json:"f:component"` + F_Host *struct{} `json:"f:host,omitempty"` + } `json:"f:source"` + F_Type struct{} `json:"f:type"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Reason string `json:"reason"` + ReportingComponent string `json:"reportingComponent"` + ReportingInstance string `json:"reportingInstance"` + Source struct { + Component string `json:"component"` + Host string `json:"host,omitempty"` + } `json:"source"` + Type string `json:"type"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type Kibana struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + Annotations struct { + Association_k8s_elastic_co_esConf string `json:"association.k8s.elastic.co/es-conf"` + Common_k8s_elastic_co_controllerVersion string `json:"common.k8s.elastic.co/controller-version"` + Kubectl_kubernetes_io_lastAppliedConfiguration string `json:"kubectl.kubernetes.io/last-applied-configuration"` + } `json:"annotations"` + CreationTimestamp time.Time `json:"creationTimestamp"` + Generation int `json:"generation"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata struct { + F_Annotations struct { + _ *struct{} `json:".,omitempty"` + F_association_k8s_elastic_co_esConf *struct{} `json:"f:association.k8s.elastic.co/es-conf,omitempty"` + F_common_k8s_elastic_co_controllerVersion *struct{} `json:"f:common.k8s.elastic.co/controller-version,omitempty"` + F_kubectl_kubernetes_io_lastAppliedConfiguration *struct{} `json:"f:kubectl.kubernetes.io/last-applied-configuration,omitempty"` + } `json:"f:annotations"` + } `json:"f:metadata"` + F_Spec struct { + _ *struct{} `json:".,omitempty"` + F_Config *struct { + _ struct{} `json:"."` + F_Elasticsearch_Password struct{} `json:"f:elasticsearch.password"` + F_Elasticsearch_Username struct{} `json:"f:elasticsearch.username"` + F_Logging_Verbose struct{} `json:"f:logging.verbose"` + F_Server struct{} `json:"f:server"` + F_Xpack_Security_Authc_Providers struct{} `json:"f:xpack.security.authc.providers"` + F_Xpack_Security_Authc_Selector_Enabled struct{} `json:"f:xpack.security.authc.selector.enabled"` + } `json:"f:config,omitempty"` + F_Count *struct{} `json:"f:count,omitempty"` + F_ElasticsearchRef *struct { + _ struct{} `json:"."` + F_Name struct{} `json:"f:name"` + } `json:"f:elasticsearchRef,omitempty"` + F_EnterpriseSearchRef *struct { + _ struct{} `json:"."` + F_Name struct{} `json:"f:name"` + } `json:"f:enterpriseSearchRef,omitempty"` + F_HTTP *struct { + _ struct{} `json:"."` + F_Service struct { + _ struct{} `json:"."` + F_Metadata struct { + _ struct{} `json:"."` + F_Annotations struct { + _ struct{} `json:"."` + F_service_beta_kubernetes_io_awsLoadBalancerAdditionalResourceTags struct{} `json:"f:service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags"` + F_service_beta_kubernetes_io_awsLoadBalancerInternal struct{} `json:"f:service.beta.kubernetes.io/aws-load-balancer-internal"` + F_service_beta_kubernetes_io_awsLoadBalancerType struct{} `json:"f:service.beta.kubernetes.io/aws-load-balancer-type"` + } `json:"f:annotations"` + } `json:"f:metadata"` + F_Spec struct { + _ struct{} `json:"."` + F_Type struct{} `json:"f:type"` + } `json:"f:spec"` + } `json:"f:service"` + F_Tls struct { + _ struct{} `json:"."` + F_SelfSignedCertificate struct { + _ struct{} `json:"."` + F_Disabled struct{} `json:"f:disabled"` + } `json:"f:selfSignedCertificate"` + } `json:"f:tls"` + } `json:"f:http,omitempty"` + F_Monitoring *struct { + _ struct{} `json:"."` + F_Logs struct{} `json:"f:logs"` + F_Metrics struct{} `json:"f:metrics"` + } `json:"f:monitoring,omitempty"` + F_PodTemplate *struct { + _ struct{} `json:"."` + F_Spec struct{} `json:"f:spec"` + } `json:"f:podTemplate,omitempty"` + F_Version *struct{} `json:"f:version,omitempty"` + } `json:"f:spec"` + F_Status *struct { + _ struct{} `json:"."` + F_AssociationStatus struct{} `json:"f:associationStatus"` + F_AvailableNodes struct{} `json:"f:availableNodes"` + F_Count struct{} `json:"f:count"` + F_ElasticsearchAssociationStatus struct{} `json:"f:elasticsearchAssociationStatus"` + F_Health struct{} `json:"f:health"` + F_Selector struct{} `json:"f:selector"` + F_Version struct{} `json:"f:version"` + } `json:"f:status,omitempty"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + Config struct { + Elasticsearch_Password string `json:"elasticsearch.password"` + Elasticsearch_Username string `json:"elasticsearch.username"` + Logging_Verbose bool `json:"logging.verbose"` + Server struct { + BasePath string `json:"basePath"` + PublicBaseURL string `json:"publicBaseUrl"` + RewriteBasePath bool `json:"rewriteBasePath"` + } `json:"server"` + Xpack_Security_Authc_Providers struct { + Basic_Basic1 struct { + Order int `json:"order"` + } `json:"basic.basic1"` + Oidc_Oidc1 struct { + Order int `json:"order"` + Realm string `json:"realm"` + } `json:"oidc.oidc1"` + } `json:"xpack.security.authc.providers"` + Xpack_Security_Authc_Selector_Enabled bool `json:"xpack.security.authc.selector.enabled"` + } `json:"config"` + Count int `json:"count"` + ElasticsearchRef struct { + Name string `json:"name"` + } `json:"elasticsearchRef"` + EnterpriseSearchRef struct { + Name string `json:"name"` + } `json:"enterpriseSearchRef"` + HTTP struct { + Service struct { + Metadata struct { + Annotations struct { + Service_beta_kubernetes_io_awsLoadBalancerAdditionalResourceTags string `json:"service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags"` + Service_beta_kubernetes_io_awsLoadBalancerInternal string `json:"service.beta.kubernetes.io/aws-load-balancer-internal"` + Service_beta_kubernetes_io_awsLoadBalancerType string `json:"service.beta.kubernetes.io/aws-load-balancer-type"` + } `json:"annotations"` + } `json:"metadata"` + Spec struct { + Type string `json:"type"` + } `json:"spec"` + } `json:"service"` + Tls struct { + SelfSignedCertificate struct { + Disabled bool `json:"disabled"` + } `json:"selfSignedCertificate"` + } `json:"tls"` + } `json:"http"` + Monitoring struct { + Logs struct{} `json:"logs"` + Metrics struct{} `json:"metrics"` + } `json:"monitoring"` + PodTemplate struct { + Spec struct { + Containers []struct { + Name string `json:"name"` + ReadinessProbe struct { + HTTPGet struct { + Path string `json:"path"` + Port int `json:"port"` + Scheme string `json:"scheme"` + } `json:"httpGet"` + } `json:"readinessProbe"` + } `json:"containers"` + } `json:"spec"` + } `json:"podTemplate"` + Version string `json:"version"` + } `json:"spec"` + Status struct { + AssociationStatus string `json:"associationStatus"` + AvailableNodes int `json:"availableNodes"` + Count int `json:"count"` + ElasticsearchAssociationStatus string `json:"elasticsearchAssociationStatus"` + Health string `json:"health"` + Selector string `json:"selector"` + Version string `json:"version"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type DiagVersion struct { + DiagnosticsVersion struct { + BuildDate time.Time `json:"BuildDate"` + Hash string `json:"Hash"` + Version string `json:"Version"` + } `json:"DiagnosticsVersion"` + ServerVersion struct { + BuildDate time.Time `json:"buildDate"` + Compiler string `json:"compiler"` + GitCommit string `json:"gitCommit"` + GitTreeState string `json:"gitTreeState"` + GitVersion string `json:"gitVersion"` + GoVersion string `json:"goVersion"` + Major string `json:"major"` + Minor string `json:"minor"` + Platform string `json:"platform"` + } `json:"ServerVersion"` +} + +type StatefulSet struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + CreationTimestamp time.Time `json:"creationTimestamp"` + Generation int `json:"generation"` + Labels struct { + Common_k8s_elastic_co_templateHash string `json:"common.k8s.elastic.co/template-hash"` + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name"` + Elasticsearch_k8s_elastic_co_statefulsetName string `json:"elasticsearch.k8s.elastic.co/statefulset-name"` + } `json:"labels"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata *struct { + F_Labels struct { + _ struct{} `json:"."` + F_common_k8s_elastic_co_templateHash struct{} `json:"f:common.k8s.elastic.co/template-hash"` + F_Common_K8S_Elastic_Co_Type struct{} `json:"f:common.k8s.elastic.co/type"` + F_elasticsearch_k8s_elastic_co_clusterName struct{} `json:"f:elasticsearch.k8s.elastic.co/cluster-name"` + F_elasticsearch_k8s_elastic_co_statefulsetName struct{} `json:"f:elasticsearch.k8s.elastic.co/statefulset-name"` + } `json:"f:labels"` + F_OwnerReferences struct { + _ struct{} `json:"."` + // "k:{\"uid\":\"5de07191-561b-4b60-b3de-ab58726c31d4\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:ownerReferences"` + } `json:"f:metadata,omitempty"` + F_Spec *struct { + F_PodManagementPolicy struct{} `json:"f:podManagementPolicy"` + F_Replicas struct{} `json:"f:replicas"` + F_RevisionHistoryLimit struct{} `json:"f:revisionHistoryLimit"` + F_Selector struct{} `json:"f:selector"` + F_ServiceName struct{} `json:"f:serviceName"` + F_Template struct { + F_Metadata struct { + F_Annotations struct { + _ struct{} `json:"."` + F_Co_Elastic_Logs_Module struct{} `json:"f:co.elastic.logs/module"` + } `json:"f:annotations"` + F_Labels struct { + _ struct{} `json:"."` + F_Common_K8S_Elastic_Co_Type struct{} `json:"f:common.k8s.elastic.co/type"` + F_elasticsearch_k8s_elastic_co_clusterName struct{} `json:"f:elasticsearch.k8s.elastic.co/cluster-name"` + F_elasticsearch_k8s_elastic_co_configHash struct{} `json:"f:elasticsearch.k8s.elastic.co/config-hash"` + F_elasticsearch_k8s_elastic_co_httpScheme struct{} `json:"f:elasticsearch.k8s.elastic.co/http-scheme"` + F_elasticsearch_k8s_elastic_co_nodeData struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data"` + F_elasticsearch_k8s_elastic_co_nodeData_cold struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_cold"` + F_elasticsearch_k8s_elastic_co_nodeData_content struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_content"` + F_elasticsearch_k8s_elastic_co_nodeData_hot struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_hot"` + F_elasticsearch_k8s_elastic_co_nodeData_warm struct{} `json:"f:elasticsearch.k8s.elastic.co/node-data_warm"` + F_elasticsearch_k8s_elastic_co_nodeIngest struct{} `json:"f:elasticsearch.k8s.elastic.co/node-ingest"` + F_elasticsearch_k8s_elastic_co_nodeMaster struct{} `json:"f:elasticsearch.k8s.elastic.co/node-master"` + F_elasticsearch_k8s_elastic_co_nodeMl struct{} `json:"f:elasticsearch.k8s.elastic.co/node-ml"` + F_elasticsearch_k8s_elastic_co_nodeRemote_cluster_client struct{} `json:"f:elasticsearch.k8s.elastic.co/node-remote_cluster_client"` + F_elasticsearch_k8s_elastic_co_nodeTransform struct{} `json:"f:elasticsearch.k8s.elastic.co/node-transform"` + F_elasticsearch_k8s_elastic_co_nodeVoting_only struct{} `json:"f:elasticsearch.k8s.elastic.co/node-voting_only"` + F_elasticsearch_k8s_elastic_co_secureSettingsHash struct{} `json:"f:elasticsearch.k8s.elastic.co/secure-settings-hash"` + F_elasticsearch_k8s_elastic_co_statefulsetName struct{} `json:"f:elasticsearch.k8s.elastic.co/statefulset-name"` + F_Elasticsearch_K8S_Elastic_Co_Version struct{} `json:"f:elasticsearch.k8s.elastic.co/version"` + } `json:"f:labels"` + } `json:"f:metadata"` + F_Spec struct { + F_Affinity struct { + _ struct{} `json:"."` + F_PodAntiAffinity struct { + _ struct{} `json:"."` + F_PreferredDuringSchedulingIgnoredDuringExecution struct{} `json:"f:preferredDuringSchedulingIgnoredDuringExecution"` + } `json:"f:podAntiAffinity"` + } `json:"f:affinity"` + F_AutomountServiceAccountToken struct{} `json:"f:automountServiceAccountToken"` + F_Containers struct { + // "k:{\"name\":\"elasticsearch\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:containers"` + F_DnsPolicy struct{} `json:"f:dnsPolicy"` + F_InitContainers struct { + _ struct{} `json:"."` + // "k:{\"name\":\"elastic-internal-init-filesystem\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-init-keystore\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-suspend\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"install-plugins\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:initContainers"` + F_RestartPolicy struct{} `json:"f:restartPolicy"` + F_SchedulerName struct{} `json:"f:schedulerName"` + F_SecurityContext struct{} `json:"f:securityContext"` + F_TerminationGracePeriodSeconds struct{} `json:"f:terminationGracePeriodSeconds"` + F_Volumes struct { + _ struct{} `json:"."` + // "k:{\"name\":\"downward-api\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-config\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-http-certificates\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-probe-user\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-scripts\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-secure-settings\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-transport-certificates\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-unicast-hosts\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-xpack-file-realm\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elasticsearch-data\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elasticsearch-logs\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:volumes"` + } `json:"f:spec"` + } `json:"f:template"` + F_UpdateStrategy struct { + F_Type struct{} `json:"f:type"` + } `json:"f:updateStrategy"` + F_VolumeClaimTemplates struct{} `json:"f:volumeClaimTemplates"` + } `json:"f:spec,omitempty"` + F_Status *struct { + F_CollisionCount struct{} `json:"f:collisionCount"` + F_CurrentRevision struct{} `json:"f:currentRevision"` + F_ObservedGeneration struct{} `json:"f:observedGeneration"` + F_ReadyReplicas struct{} `json:"f:readyReplicas"` + F_Replicas struct{} `json:"f:replicas"` + F_UpdateRevision struct{} `json:"f:updateRevision"` + F_UpdatedReplicas struct{} `json:"f:updatedReplicas"` + } `json:"f:status,omitempty"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + OwnerReferences []struct { + APIVersion string `json:"apiVersion"` + BlockOwnerDeletion bool `json:"blockOwnerDeletion"` + Controller bool `json:"controller"` + Kind string `json:"kind"` + Name string `json:"name"` + Uid string `json:"uid"` + } `json:"ownerReferences"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + PodManagementPolicy string `json:"podManagementPolicy"` + Replicas int `json:"replicas"` + RevisionHistoryLimit int `json:"revisionHistoryLimit"` + Selector struct { + MatchLabels struct { + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name"` + Elasticsearch_k8s_elastic_co_statefulsetName string `json:"elasticsearch.k8s.elastic.co/statefulset-name"` + } `json:"matchLabels"` + } `json:"selector"` + ServiceName string `json:"serviceName"` + Template struct { + Metadata struct { + Annotations struct { + Co_Elastic_Logs_Module string `json:"co.elastic.logs/module"` + } `json:"annotations"` + CreationTimestamp interface{} `json:"creationTimestamp"` + Labels struct { + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name"` + Elasticsearch_k8s_elastic_co_configHash string `json:"elasticsearch.k8s.elastic.co/config-hash"` + Elasticsearch_k8s_elastic_co_httpScheme string `json:"elasticsearch.k8s.elastic.co/http-scheme"` + Elasticsearch_k8s_elastic_co_nodeData string `json:"elasticsearch.k8s.elastic.co/node-data"` + Elasticsearch_k8s_elastic_co_nodeData_cold string `json:"elasticsearch.k8s.elastic.co/node-data_cold"` + Elasticsearch_k8s_elastic_co_nodeData_content string `json:"elasticsearch.k8s.elastic.co/node-data_content"` + Elasticsearch_k8s_elastic_co_nodeData_hot string `json:"elasticsearch.k8s.elastic.co/node-data_hot"` + Elasticsearch_k8s_elastic_co_nodeData_warm string `json:"elasticsearch.k8s.elastic.co/node-data_warm"` + Elasticsearch_k8s_elastic_co_nodeIngest string `json:"elasticsearch.k8s.elastic.co/node-ingest"` + Elasticsearch_k8s_elastic_co_nodeMaster string `json:"elasticsearch.k8s.elastic.co/node-master"` + Elasticsearch_k8s_elastic_co_nodeMl string `json:"elasticsearch.k8s.elastic.co/node-ml"` + Elasticsearch_k8s_elastic_co_nodeRemote_cluster_client string `json:"elasticsearch.k8s.elastic.co/node-remote_cluster_client"` + Elasticsearch_k8s_elastic_co_nodeTransform string `json:"elasticsearch.k8s.elastic.co/node-transform"` + Elasticsearch_k8s_elastic_co_nodeVoting_only string `json:"elasticsearch.k8s.elastic.co/node-voting_only"` + Elasticsearch_k8s_elastic_co_secureSettingsHash string `json:"elasticsearch.k8s.elastic.co/secure-settings-hash"` + Elasticsearch_k8s_elastic_co_statefulsetName string `json:"elasticsearch.k8s.elastic.co/statefulset-name"` + Elasticsearch_K8S_Elastic_Co_Version string `json:"elasticsearch.k8s.elastic.co/version"` + } `json:"labels"` + } `json:"metadata"` + Spec struct { + Affinity struct { + PodAntiAffinity struct { + PreferredDuringSchedulingIgnoredDuringExecution []struct { + PodAffinityTerm struct { + LabelSelector struct { + MatchLabels struct { + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name"` + } `json:"matchLabels"` + } `json:"labelSelector"` + TopologyKey string `json:"topologyKey"` + } `json:"podAffinityTerm"` + Weight int `json:"weight"` + } `json:"preferredDuringSchedulingIgnoredDuringExecution"` + } `json:"podAntiAffinity"` + } `json:"affinity"` + AutomountServiceAccountToken bool `json:"automountServiceAccountToken"` + Containers []struct { + Env []struct { + Name string `json:"name"` + Value string `json:"value,omitempty"` + ValueFrom *struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + } `json:"valueFrom,omitempty"` + } `json:"env"` + Image string `json:"image"` + ImagePullPolicy string `json:"imagePullPolicy"` + Lifecycle struct { + PreStop struct { + Exec struct { + Command []string `json:"command"` + } `json:"exec"` + } `json:"preStop"` + } `json:"lifecycle"` + Name string `json:"name"` + Ports []struct { + ContainerPort int `json:"containerPort"` + Name string `json:"name"` + Protocol string `json:"protocol"` + } `json:"ports"` + ReadinessProbe struct { + Exec struct { + Command []string `json:"command"` + } `json:"exec"` + FailureThreshold int `json:"failureThreshold"` + InitialDelaySeconds int `json:"initialDelaySeconds"` + PeriodSeconds int `json:"periodSeconds"` + SuccessThreshold int `json:"successThreshold"` + TimeoutSeconds int `json:"timeoutSeconds"` + } `json:"readinessProbe"` + Resources struct { + Limits struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + TerminationMessagePath string `json:"terminationMessagePath"` + TerminationMessagePolicy string `json:"terminationMessagePolicy"` + VolumeMounts []struct { + MountPath string `json:"mountPath"` + Name string `json:"name"` + ReadOnly bool `json:"readOnly,omitempty"` + } `json:"volumeMounts"` + } `json:"containers"` + DnsPolicy string `json:"dnsPolicy"` + InitContainers []struct { + Command []string `json:"command"` + Env []struct { + Name string `json:"name"` + Value string `json:"value,omitempty"` + ValueFrom *struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + } `json:"valueFrom,omitempty"` + } `json:"env"` + Image string `json:"image"` + ImagePullPolicy string `json:"imagePullPolicy"` + Name string `json:"name"` + Resources struct { + Limits struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Cpu string `json:"cpu,omitempty"` + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + SecurityContext *struct { + Privileged bool `json:"privileged"` + } `json:"securityContext,omitempty"` + TerminationMessagePath string `json:"terminationMessagePath"` + TerminationMessagePolicy string `json:"terminationMessagePolicy"` + VolumeMounts []struct { + MountPath string `json:"mountPath"` + Name string `json:"name"` + ReadOnly bool `json:"readOnly,omitempty"` + } `json:"volumeMounts"` + } `json:"initContainers"` + RestartPolicy string `json:"restartPolicy"` + SchedulerName string `json:"schedulerName"` + SecurityContext struct{} `json:"securityContext"` + TerminationGracePeriodSeconds int `json:"terminationGracePeriodSeconds"` + Volumes []struct { + ConfigMap *struct { + DefaultMode int `json:"defaultMode"` + Name string `json:"name"` + Optional bool `json:"optional"` + } `json:"configMap,omitempty"` + DownwardAPI *struct { + DefaultMode int `json:"defaultMode"` + Items []struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + Path string `json:"path"` + } `json:"items"` + } `json:"downwardAPI,omitempty"` + EmptyDir *struct{} `json:"emptyDir,omitempty"` + Name string `json:"name"` + PersistentVolumeClaim *struct { + ClaimName string `json:"claimName"` + } `json:"persistentVolumeClaim,omitempty"` + Secret *struct { + DefaultMode int `json:"defaultMode"` + Items []struct { + Key string `json:"key"` + Path string `json:"path"` + } `json:"items,omitempty"` + Optional bool `json:"optional"` + SecretName string `json:"secretName"` + } `json:"secret,omitempty"` + } `json:"volumes"` + } `json:"spec"` + } `json:"template"` + UpdateStrategy struct { + Type string `json:"type"` + } `json:"updateStrategy"` + VolumeClaimTemplates []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + CreationTimestamp interface{} `json:"creationTimestamp"` + Name string `json:"name"` + } `json:"metadata"` + Spec struct { + AccessModes []string `json:"accessModes"` + Resources struct { + Requests struct { + Storage string `json:"storage"` + } `json:"requests"` + } `json:"resources"` + VolumeMode string `json:"volumeMode"` + } `json:"spec"` + Status struct { + Phase string `json:"phase"` + } `json:"status"` + } `json:"volumeClaimTemplates"` + } `json:"spec"` + Status struct { + CollisionCount int `json:"collisionCount"` + CurrentRevision string `json:"currentRevision"` + ObservedGeneration int `json:"observedGeneration"` + ReadyReplicas int `json:"readyReplicas"` + Replicas int `json:"replicas"` + UpdateRevision string `json:"updateRevision"` + UpdatedReplicas int `json:"updatedReplicas"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type Deployment struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + Annotations struct { + Deployment_Kubernetes_Io_Revision string `json:"deployment.kubernetes.io/revision"` + } `json:"annotations"` + CreationTimestamp time.Time `json:"creationTimestamp"` + Generation int `json:"generation"` + Labels struct { + Common_k8s_elastic_co_templateHash string `json:"common.k8s.elastic.co/template-hash"` + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Kibana_K8S_Elastic_Co_Name string `json:"kibana.k8s.elastic.co/name"` + } `json:"labels"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata struct { + F_Annotations *struct { + _ struct{} `json:"."` + F_Deployment_Kubernetes_Io_Revision struct{} `json:"f:deployment.kubernetes.io/revision"` + } `json:"f:annotations,omitempty"` + F_Labels *struct { + _ struct{} `json:"."` + F_common_k8s_elastic_co_templateHash struct{} `json:"f:common.k8s.elastic.co/template-hash"` + F_Common_K8S_Elastic_Co_Type struct{} `json:"f:common.k8s.elastic.co/type"` + F_Kibana_K8S_Elastic_Co_Name struct{} `json:"f:kibana.k8s.elastic.co/name"` + } `json:"f:labels,omitempty"` + F_OwnerReferences *struct { + _ struct{} `json:"."` + // "k:{\"uid\":\"b0d54df0-cd08-41a9-b58c-de75022f4448\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:ownerReferences,omitempty"` + } `json:"f:metadata"` + F_Spec *struct { + F_ProgressDeadlineSeconds struct{} `json:"f:progressDeadlineSeconds"` + F_Replicas struct{} `json:"f:replicas"` + F_RevisionHistoryLimit struct{} `json:"f:revisionHistoryLimit"` + F_Selector struct{} `json:"f:selector"` + F_Strategy struct { + F_RollingUpdate struct { + _ struct{} `json:"."` + F_MaxSurge struct{} `json:"f:maxSurge"` + F_MaxUnavailable struct{} `json:"f:maxUnavailable"` + } `json:"f:rollingUpdate"` + F_Type struct{} `json:"f:type"` + } `json:"f:strategy"` + F_Template struct { + F_Metadata struct { + F_Annotations struct { + _ struct{} `json:"."` + F_Co_Elastic_Logs_Module struct{} `json:"f:co.elastic.logs/module"` + } `json:"f:annotations"` + F_Labels struct { + _ struct{} `json:"."` + F_Common_K8S_Elastic_Co_Type struct{} `json:"f:common.k8s.elastic.co/type"` + F_kibana_k8s_elastic_co_configChecksum struct{} `json:"f:kibana.k8s.elastic.co/config-checksum"` + F_Kibana_K8S_Elastic_Co_Name struct{} `json:"f:kibana.k8s.elastic.co/name"` + F_Kibana_K8S_Elastic_Co_Version struct{} `json:"f:kibana.k8s.elastic.co/version"` + } `json:"f:labels"` + } `json:"f:metadata"` + F_Spec struct { + F_AutomountServiceAccountToken struct{} `json:"f:automountServiceAccountToken"` + F_Containers struct { + // "k:{\"name\":\"kibana\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:containers"` + F_DnsPolicy struct{} `json:"f:dnsPolicy"` + F_InitContainers struct { + _ struct{} `json:"."` + // "k:{\"name\":\"elastic-internal-init-config\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:initContainers"` + F_RestartPolicy struct{} `json:"f:restartPolicy"` + F_SchedulerName struct{} `json:"f:schedulerName"` + F_SecurityContext struct{} `json:"f:securityContext"` + F_TerminationGracePeriodSeconds struct{} `json:"f:terminationGracePeriodSeconds"` + F_Volumes struct { + _ struct{} `json:"."` + // "k:{\"name\":\"elastic-internal-kibana-config\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elastic-internal-kibana-config-local\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"elasticsearch-certs\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"name\":\"kibana-data\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:volumes"` + } `json:"f:spec"` + } `json:"f:template"` + } `json:"f:spec,omitempty"` + F_Status *struct { + F_AvailableReplicas struct{} `json:"f:availableReplicas"` + F_Conditions struct { + _ struct{} `json:"."` + // "k:{\"type\":\"Available\"}" cannot be unmarshalled into a struct field by encoding/json. + // "k:{\"type\":\"Progressing\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:conditions"` + F_ObservedGeneration struct{} `json:"f:observedGeneration"` + F_ReadyReplicas struct{} `json:"f:readyReplicas"` + F_Replicas struct{} `json:"f:replicas"` + F_UpdatedReplicas struct{} `json:"f:updatedReplicas"` + } `json:"f:status,omitempty"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + OwnerReferences []struct { + APIVersion string `json:"apiVersion"` + BlockOwnerDeletion bool `json:"blockOwnerDeletion"` + Controller bool `json:"controller"` + Kind string `json:"kind"` + Name string `json:"name"` + Uid string `json:"uid"` + } `json:"ownerReferences"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + ProgressDeadlineSeconds int `json:"progressDeadlineSeconds"` + Replicas int `json:"replicas"` + RevisionHistoryLimit int `json:"revisionHistoryLimit"` + Selector struct { + MatchLabels struct { + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Kibana_K8S_Elastic_Co_Name string `json:"kibana.k8s.elastic.co/name"` + } `json:"matchLabels"` + } `json:"selector"` + Strategy struct { + RollingUpdate struct { + MaxSurge string `json:"maxSurge"` + MaxUnavailable string `json:"maxUnavailable"` + } `json:"rollingUpdate"` + Type string `json:"type"` + } `json:"strategy"` + Template struct { + Metadata struct { + Annotations struct { + Co_Elastic_Logs_Module string `json:"co.elastic.logs/module"` + } `json:"annotations"` + CreationTimestamp interface{} `json:"creationTimestamp"` + Labels struct { + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Kibana_k8s_elastic_co_configChecksum string `json:"kibana.k8s.elastic.co/config-checksum"` + Kibana_K8S_Elastic_Co_Name string `json:"kibana.k8s.elastic.co/name"` + Kibana_K8S_Elastic_Co_Version string `json:"kibana.k8s.elastic.co/version"` + } `json:"labels"` + } `json:"metadata"` + Spec struct { + AutomountServiceAccountToken bool `json:"automountServiceAccountToken"` + Containers []struct { + Image string `json:"image"` + ImagePullPolicy string `json:"imagePullPolicy"` + Name string `json:"name"` + Ports []struct { + ContainerPort int `json:"containerPort"` + Name string `json:"name"` + Protocol string `json:"protocol"` + } `json:"ports"` + ReadinessProbe struct { + FailureThreshold int `json:"failureThreshold"` + HTTPGet struct { + Path string `json:"path"` + Port int `json:"port"` + Scheme string `json:"scheme"` + } `json:"httpGet"` + PeriodSeconds int `json:"periodSeconds"` + SuccessThreshold int `json:"successThreshold"` + TimeoutSeconds int `json:"timeoutSeconds"` + } `json:"readinessProbe"` + Resources struct { + Limits struct { + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + TerminationMessagePath string `json:"terminationMessagePath"` + TerminationMessagePolicy string `json:"terminationMessagePolicy"` + VolumeMounts []struct { + MountPath string `json:"mountPath"` + Name string `json:"name"` + ReadOnly bool `json:"readOnly,omitempty"` + } `json:"volumeMounts"` + } `json:"containers"` + DnsPolicy string `json:"dnsPolicy"` + InitContainers []struct { + Command []string `json:"command"` + Env []struct { + Name string `json:"name"` + ValueFrom struct { + FieldRef struct { + APIVersion string `json:"apiVersion"` + FieldPath string `json:"fieldPath"` + } `json:"fieldRef"` + } `json:"valueFrom"` + } `json:"env"` + Image string `json:"image"` + ImagePullPolicy string `json:"imagePullPolicy"` + Name string `json:"name"` + Resources struct { + Limits struct { + Cpu string `json:"cpu"` + Memory string `json:"memory"` + } `json:"limits"` + Requests struct { + Cpu string `json:"cpu"` + Memory string `json:"memory"` + } `json:"requests"` + } `json:"resources"` + SecurityContext struct { + Privileged bool `json:"privileged"` + } `json:"securityContext"` + TerminationMessagePath string `json:"terminationMessagePath"` + TerminationMessagePolicy string `json:"terminationMessagePolicy"` + VolumeMounts []struct { + MountPath string `json:"mountPath"` + Name string `json:"name"` + ReadOnly bool `json:"readOnly,omitempty"` + } `json:"volumeMounts"` + } `json:"initContainers"` + RestartPolicy string `json:"restartPolicy"` + SchedulerName string `json:"schedulerName"` + SecurityContext struct{} `json:"securityContext"` + TerminationGracePeriodSeconds int `json:"terminationGracePeriodSeconds"` + Volumes []struct { + EmptyDir *struct{} `json:"emptyDir,omitempty"` + Name string `json:"name"` + Secret *struct { + DefaultMode int `json:"defaultMode"` + Optional bool `json:"optional"` + SecretName string `json:"secretName"` + } `json:"secret,omitempty"` + } `json:"volumes"` + } `json:"spec"` + } `json:"template"` + } `json:"spec"` + Status struct { + AvailableReplicas int `json:"availableReplicas"` + Conditions []struct { + LastTransitionTime time.Time `json:"lastTransitionTime"` + LastUpdateTime time.Time `json:"lastUpdateTime"` + Message string `json:"message"` + Reason string `json:"reason"` + Status string `json:"status"` + Type string `json:"type"` + } `json:"conditions"` + ObservedGeneration int `json:"observedGeneration"` + ReadyReplicas int `json:"readyReplicas"` + Replicas int `json:"replicas"` + UpdatedReplicas int `json:"updatedReplicas"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +type PVC struct { + APIVersion string `json:"apiVersion"` + Items []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Metadata struct { + Annotations struct { + Pv_kubernetes_io_bindCompleted string `json:"pv.kubernetes.io/bind-completed"` + Pv_kubernetes_io_boundByController string `json:"pv.kubernetes.io/bound-by-controller"` + Volume_beta_kubernetes_io_storageProvisioner string `json:"volume.beta.kubernetes.io/storage-provisioner"` + Volume_kubernetes_io_selectedNode string `json:"volume.kubernetes.io/selected-node"` + } `json:"annotations"` + CreationTimestamp time.Time `json:"creationTimestamp"` + Finalizers []string `json:"finalizers"` + Labels struct { + Common_K8S_Elastic_Co_Type string `json:"common.k8s.elastic.co/type"` + Elasticsearch_k8s_elastic_co_clusterName string `json:"elasticsearch.k8s.elastic.co/cluster-name"` + Elasticsearch_k8s_elastic_co_statefulsetName string `json:"elasticsearch.k8s.elastic.co/statefulset-name"` + } `json:"labels"` + ManagedFields []struct { + APIVersion string `json:"apiVersion"` + FieldsType string `json:"fieldsType"` + FieldsV1 struct { + F_Metadata struct { + F_Annotations *struct { + _ *struct{} `json:".,omitempty"` + F_pv_kubernetes_io_bindCompleted *struct{} `json:"f:pv.kubernetes.io/bind-completed,omitempty"` + F_pv_kubernetes_io_boundByController *struct{} `json:"f:pv.kubernetes.io/bound-by-controller,omitempty"` + F_volume_beta_kubernetes_io_storageProvisioner *struct{} `json:"f:volume.beta.kubernetes.io/storage-provisioner,omitempty"` + F_volume_kubernetes_io_selectedNode *struct{} `json:"f:volume.kubernetes.io/selected-node,omitempty"` + } `json:"f:annotations,omitempty"` + F_Labels *struct { + _ struct{} `json:"."` + F_Common_K8S_Elastic_Co_Type struct{} `json:"f:common.k8s.elastic.co/type"` + F_elasticsearch_k8s_elastic_co_clusterName struct{} `json:"f:elasticsearch.k8s.elastic.co/cluster-name"` + F_elasticsearch_k8s_elastic_co_statefulsetName struct{} `json:"f:elasticsearch.k8s.elastic.co/statefulset-name"` + } `json:"f:labels,omitempty"` + F_OwnerReferences *struct { + _ struct{} `json:"."` + // "k:{\"uid\":\"5de07191-561b-4b60-b3de-ab58726c31d4\"}" cannot be unmarshalled into a struct field by encoding/json. + } `json:"f:ownerReferences,omitempty"` + } `json:"f:metadata"` + F_Spec *struct { + F_AccessModes struct{} `json:"f:accessModes"` + F_Resources struct { + F_Requests struct { + _ struct{} `json:"."` + F_Storage struct{} `json:"f:storage"` + } `json:"f:requests"` + } `json:"f:resources"` + F_VolumeMode struct{} `json:"f:volumeMode"` + F_VolumeName struct{} `json:"f:volumeName"` + } `json:"f:spec,omitempty"` + F_Status *struct { + F_AccessModes struct{} `json:"f:accessModes"` + F_Capacity struct { + _ struct{} `json:"."` + F_Storage struct{} `json:"f:storage"` + } `json:"f:capacity"` + F_Phase struct{} `json:"f:phase"` + } `json:"f:status,omitempty"` + } `json:"fieldsV1"` + Manager string `json:"manager"` + Operation string `json:"operation"` + Time time.Time `json:"time"` + } `json:"managedFields"` + Name string `json:"name"` + Namespace string `json:"namespace"` + OwnerReferences []struct { + APIVersion string `json:"apiVersion"` + Kind string `json:"kind"` + Name string `json:"name"` + Uid string `json:"uid"` + } `json:"ownerReferences"` + ResourceVersion string `json:"resourceVersion"` + Uid string `json:"uid"` + } `json:"metadata"` + Spec struct { + AccessModes []string `json:"accessModes"` + Resources struct { + Requests struct { + Storage string `json:"storage"` + } `json:"requests"` + } `json:"resources"` + StorageClassName string `json:"storageClassName"` + VolumeMode string `json:"volumeMode"` + VolumeName string `json:"volumeName"` + } `json:"spec"` + Status struct { + AccessModes []string `json:"accessModes"` + Capacity struct { + Storage string `json:"storage"` + } `json:"capacity"` + Phase string `json:"phase"` + } `json:"status"` + } `json:"items"` + Kind string `json:"kind"` + Metadata struct { + ResourceVersion string `json:"resourceVersion"` + } `json:"metadata"` +} + +func LoadNodes(filename string) (Nodes, error) { + var config Nodes + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadPods(filename string) (Pods, error) { + var config Pods + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadES(filename string) (ES, error) { + var config ES + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadKibana(filename string) (Kibana, error) { + var config Kibana + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadEvents(filename string) (Events, error) { + var config Events + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadDiagV(filename string) (DiagVersion, error) { + var config DiagVersion + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadStatefulSet(filename string) (StatefulSet, error) { + var config StatefulSet + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadDeploy(filename string) (Deployment, error) { + var config Deployment + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} + +func LoadPVC(filename string) (PVC, error) { + var config PVC + file, err := os.Open(filename) + defer file.Close() + if err != nil { + return config, err + } + + jsonparser := json.NewDecoder(file) + err = jsonparser.Decode(&config) + return config, err +} diff --git a/pkg/resources/deployment.go b/pkg/resources/deployment.go new file mode 100644 index 0000000..1ce0afd --- /dev/null +++ b/pkg/resources/deployment.go @@ -0,0 +1,28 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func Deployment() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadDeploy("/Users/francismarasouza/finding-file/tmp/default/deployments.json") + fmt.Fprintf(w, "\n\n%s\t\t\t%s\t\t", "DEPLOYMENT NAME", "REPLICAS") + + for i := range config.Items { + fmt.Fprintf(w, "\n%s\t\t\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%v\t", config.Items[i].Spec.Replicas) + + } +} + +// Check if JVM was set + +//CHECK VOLUMES ATTACHED diff --git a/pkg/resources/elasticsearch.go b/pkg/resources/elasticsearch.go new file mode 100644 index 0000000..c020e28 --- /dev/null +++ b/pkg/resources/elasticsearch.go @@ -0,0 +1,32 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func Es() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadES("/Users/francismarasouza/finding-file/tmp/default/elasticsearch.json") + fmt.Fprintf(w, "\n\n%s\t\t%s\t\t%s\t\t%s\t\t%s\t", "ES NAME", "STATUS", "VERSION", "PHASE", "NODES") + + for i := range config.Items { + // Add condition to print "NOT SPECIFIED" in case there's not limit/request specified + + fmt.Fprintf(w, "\n%s\t\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Status.Health) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Spec.Version) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Status.Phase) + fmt.Fprintf(w, "%v\t", config.Items[i].Status.AvailableNodes) + + // Print labels to compare with the service labels + } + + //ADD NODES CONDITIONS +} diff --git a/pkg/resources/events.go b/pkg/resources/events.go new file mode 100644 index 0000000..5d020a8 --- /dev/null +++ b/pkg/resources/events.go @@ -0,0 +1,28 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func Events() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadEvents("/Users/francismarasouza/finding-file/tmp/default/events.json") + fmt.Fprintf(w, "\n\n%s\t\t%s\t\t%s\t\t%s\t\t", "TIMESTAMP", "TYPE", "KIND", "MESSAGE") + + for i := range config.Items { + fmt.Fprintf(w, "\n%s\t\t", config.Items[i].LastTimestamp) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Type) + fmt.Fprintf(w, "%s\t\t", config.Items[i].InvolvedObject.Kind) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Message) + + } + + //ADD NODES CONDITIONS +} diff --git a/pkg/resources/kibana.go b/pkg/resources/kibana.go new file mode 100644 index 0000000..21b6caa --- /dev/null +++ b/pkg/resources/kibana.go @@ -0,0 +1,31 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func Kibana() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadKibana("/Users/francismarasouza/finding-file/tmp/default/kibana.json") + fmt.Fprintf(w, "\n\n%s\t\t%s\t\t%s\t\t%s\t%s\t", "KB NAME", "STATUS", "VERSION", "PHASE", "NODES") + + for i := range config.Items { + + fmt.Fprintf(w, "\n%s\t\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Status.Health) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Spec.Version) + fmt.Fprintf(w, "%s\t", config.Items[i].Status.AssociationStatus) + fmt.Fprintf(w, "%v\t", config.Items[i].Status.AvailableNodes) + + // Print labels to compare with the service labels + } + + //ADD NODES CONDITIONS +} diff --git a/pkg/resources/nodes.go b/pkg/resources/nodes.go new file mode 100644 index 0000000..bea72fc --- /dev/null +++ b/pkg/resources/nodes.go @@ -0,0 +1,32 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func Nodes() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadNodes("/Users/francismarasouza/finding-file/tmp/nodes.json") + fmt.Fprintf(w, "\n%s\t%s\t%s\t%s\t\t%s\t\t%s\t%s\t", "NODE NAME", "CPU CAPACITY", "CPU ALLOCATED", "MEMORY CAPACITY", "MEMORY ALLOCATED", "VERSION", "NODE CONDITIONS") + + for i := range config.Items { + fmt.Fprintf(w, "\n%s\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%s\t", config.Items[i].Status.Capacity.Cpu) + fmt.Fprintf(w, "%s\t", config.Items[i].Status.Allocatable.Cpu) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Status.Capacity.Memory) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Status.Allocatable.Memory) + fmt.Fprintf(w, "%s\t", config.Items[i].Status.NodeInfo.KubeletVersion) + fmt.Fprintf(w, "%s %s, ", config.Items[i].Status.Conditions[0].Type, config.Items[i].Status.Conditions[0].Status) + fmt.Fprintf(w, "%s %s, ", config.Items[i].Status.Conditions[1].Type, config.Items[i].Status.Conditions[0].Status) + fmt.Fprintf(w, "%s %s, ", config.Items[i].Status.Conditions[2].Type, config.Items[i].Status.Conditions[0].Status) + fmt.Fprintf(w, "%s %s", config.Items[i].Status.Conditions[3].Type, config.Items[i].Status.Conditions[0].Status) + + } +} diff --git a/pkg/resources/pods.go b/pkg/resources/pods.go new file mode 100644 index 0000000..62a2d9e --- /dev/null +++ b/pkg/resources/pods.go @@ -0,0 +1,57 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func Pods() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadPods("/Users/francismarasouza/eck-diagnostics-parser/pods.json") + fmt.Fprintf(w, "\n\n%s\t%s\t\t%s\t%s\t%s\t%s\t%s\t", "PODS NAME", "STATUS", "MEM REQUEST", "MEM LIMIT", "CPU REQUEST", "CPU LIMIT", "INIT CONTAINER STATUS") + + for i := range config.Items { + fmt.Fprintf(w, "\n%s\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%s\t\t", config.Items[i].Status.Phase) + for r := range config.Items[i].Spec.Containers { + if config.Items[i].Spec.Containers[r].Resources.Requests.Memory == "" { + fmt.Fprintf(w, "%s\t", "No Request set") + } else { + fmt.Fprintf(w, "%s\t", config.Items[i].Spec.Containers[r].Resources.Requests.Memory) + } + + if config.Items[i].Spec.Containers[r].Resources.Limits.Memory == "" { + fmt.Fprintf(w, "%s\t", "No limit set") + } else { + fmt.Fprintf(w, "%s\t", config.Items[i].Spec.Containers[r].Resources.Limits.Memory) + } + + if config.Items[i].Spec.Containers[r].Resources.Requests.Cpu == "" { + fmt.Fprintf(w, "%s\t", "No Request set") + } else { + fmt.Fprintf(w, "%s\t", config.Items[i].Spec.Containers[r].Resources.Requests.Cpu) + } + + if config.Items[i].Spec.Containers[r].Resources.Limits.Cpu == "" { + fmt.Fprintf(w, "%s\t", "No limit set") + } else { + fmt.Fprintf(w, "%s\t", config.Items[i].Spec.Containers[r].Resources.Limits.Cpu) + + } + } + //Check initcontainers + for c := range config.Items[i].Status.InitContainerStatuses { + fmt.Fprintf(w, "%s %s, ", config.Items[i].Status.InitContainerStatuses[c].Name, config.Items[i].Status.InitContainerStatuses[c].State.Terminated.Reason) + + } + + } + + // Print labels to compare with the service labels +} diff --git a/pkg/resources/pvc.go b/pkg/resources/pvc.go new file mode 100644 index 0000000..ec96231 --- /dev/null +++ b/pkg/resources/pvc.go @@ -0,0 +1,30 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func PVC() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadPVC("/Users/francismarasouza/finding-file/tmp/default/persistentvolumeclaims.json") + fmt.Fprintf(w, "\n\n%s\t%s\t\t%s\t\t%s\t\t", "VOLUME NAME", "STATUS", "CAPACITY", "STORAGE CLASS NAME") + + for i := range config.Items { + fmt.Fprintf(w, "\n%s\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%v\t\t", config.Items[i].Status.Phase) + fmt.Fprintf(w, "%v\t\t", config.Items[i].Status.Capacity.Storage) + fmt.Fprintf(w, "%v\t", config.Items[i].Spec.StorageClassName) + + } +} + +// Check if JVM was set + +//CHECK VOLUMES ATTACHED diff --git a/pkg/resources/statefulset.go b/pkg/resources/statefulset.go new file mode 100644 index 0000000..a91fac5 --- /dev/null +++ b/pkg/resources/statefulset.go @@ -0,0 +1,38 @@ +package resources + +import ( + "fmt" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func StatefulSet() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadStatefulSet("/Users/francismarasouza/finding-file/tmp/default/statefulsets.json") + fmt.Fprintf(w, "\n\n%s\t\t%s\t\t%s\t\t", "STATEFULSET NAME", "REPLICAS", "HEAP SIZE") + + for i := range config.Items { + fmt.Fprintf(w, "\n%s\t\t", config.Items[i].Metadata.Name) + fmt.Fprintf(w, "%v\t\t", config.Items[i].Spec.Replicas) + //fmt.Fprintf(w, "%v\t", config.Items[i].Spec.Template.Spec.Containers) + for c := range config.Items[i].Spec.Template.Spec.Containers { + for e := range config.Items[i].Spec.Template.Spec.Containers[c].Env { + list := config.Items[i].Spec.Template.Spec.Containers[c].Env[e] + if list.Name == "ES_JAVA_OPTS" { + fmt.Fprintf(w, "%v\t\t\t", config.Items[i].Spec.Template.Spec.Containers[c].Env[e].Value) + } + // PRINT SOMETHING IF HEAP IS NOT SET OR SEND IT TO THE SUMMARY.GO + } + } + + } +} + +// Check if JVM was set + +//CHECK VOLUMES ATTACHED diff --git a/pkg/resources/version.go b/pkg/resources/version.go new file mode 100644 index 0000000..7e6e568 --- /dev/null +++ b/pkg/resources/version.go @@ -0,0 +1,34 @@ +package resources + +import ( + "bytes" + "fmt" + "io/ioutil" + "os" + "text/tabwriter" + + load "github.com/framsouza/eck-diagnostics-parser/pkg/load" +) + +func DiagV() { + w := new(tabwriter.Writer) + w.Init(os.Stdout, 8, 8, 0, '\t', 0) + defer w.Flush() + + config, _ := load.LoadDiagV("/Users/francismarasouza/finding-file/tmp/version.json") + fmt.Println("\nDiagnostic version is", config.DiagnosticsVersion.Version) + +} + +func ECKV() { + var version string + b, e := ioutil.ReadFile("/Users/francismarasouza/finding-file/tmp/eck-diagnostics.log") + if e != nil { + panic(e) + } + array := bytes.Split(b, []byte("\n")) + version = string(array[2]) + + fmt.Printf("%s\n", version) + +} diff --git a/pods.json b/pods.json new file mode 100644 index 0000000..75dbaea --- /dev/null +++ b/pods.json @@ -0,0 +1,20421 @@ +{ + "kind": "List", + "apiVersion": "v1", + "metadata": { + "resourceVersion": "22212408" + }, + "items": [ + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:32.244390291Z" + }, + "creationTimestamp": "2022-03-01T15:03:43Z", + "generateName": "indexer-es-data-hot-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-data-hot-6746dd9477", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "1556630720", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "false", + "elasticsearch.k8s.elastic.co/node-data_hot": "true", + "elasticsearch.k8s.elastic.co/node-data_warm": "false", + "elasticsearch.k8s.elastic.co/node-ingest": "false", + "elasticsearch.k8s.elastic.co/node-master": "false", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-data-hot", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-data-hot-0" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"2d752cc2-77ac-42b7-a12a-f44e075eb5e0\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"ES_JAVA_OPTS\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:03:43Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:03:50Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.1.19\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:05:34Z" + } + ], + "name": "indexer-es-data-hot-0", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-data-hot", + "uid": "2d752cc2-77ac-42b7-a12a-f44e075eb5e0" + } + ], + "resourceVersion": "20054963", + "uid": "e20ba53e-e938-4de5-82d3-a779972a8f89" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "ES_JAVA_OPTS", + "value": "-Xms8g -Xmx8g" + }, + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-data-hot-0", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-1-46.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-data-hot", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-data-hot-0" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-hot-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-hot-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:04:31Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:05:34Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:05:34Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:03:43Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://61872e7aac7c5ad79346490e70a185696eb407de3a598ea393b46150e5f93de8", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:04:32Z" + } + } + } + ], + "hostIP": "10.52.1.46", + "initContainerStatuses": [ + { + "containerID": "docker://12628c01bde094ca48edb3e3a4ea568f0a4ba5140b102e57f7fae07c4e61a92d", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://12628c01bde094ca48edb3e3a4ea568f0a4ba5140b102e57f7fae07c4e61a92d", + "exitCode": 0, + "finishedAt": "2022-03-01T15:03:51Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:03:49Z" + } + } + }, + { + "containerID": "docker://f87e3a9e23fe23ddb1985de92b89a2fbc71f10b787036e9caabbb0c4aca77949", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://f87e3a9e23fe23ddb1985de92b89a2fbc71f10b787036e9caabbb0c4aca77949", + "exitCode": 0, + "finishedAt": "2022-03-01T15:04:15Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:03:52Z" + } + } + }, + { + "containerID": "docker://4d1fcfd7aaec400fbc1350d0afa4564d26f0a8b76d61b91e9519e8f251beb968", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://4d1fcfd7aaec400fbc1350d0afa4564d26f0a8b76d61b91e9519e8f251beb968", + "exitCode": 0, + "finishedAt": "2022-03-01T15:04:16Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:04:16Z" + } + } + }, + { + "containerID": "docker://05be4560bed1db1a3a609a79eb6fe7bbfe9d7e4a613d0e5082f9c02037e35e5a", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://05be4560bed1db1a3a609a79eb6fe7bbfe9d7e4a613d0e5082f9c02037e35e5a", + "exitCode": 0, + "finishedAt": "2022-03-01T15:04:31Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:04:17Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.1.19", + "podIPs": [ + { + "ip": "10.52.1.19" + } + ], + "qosClass": "Guaranteed", + "startTime": "2022-03-01T15:03:43Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:31.909817296Z" + }, + "creationTimestamp": "2022-03-01T15:01:01Z", + "generateName": "indexer-es-data-hot-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-data-hot-6746dd9477", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "1556630720", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "false", + "elasticsearch.k8s.elastic.co/node-data_hot": "true", + "elasticsearch.k8s.elastic.co/node-data_warm": "false", + "elasticsearch.k8s.elastic.co/node-ingest": "false", + "elasticsearch.k8s.elastic.co/node-master": "false", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-data-hot", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-data-hot-1" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"2d752cc2-77ac-42b7-a12a-f44e075eb5e0\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"ES_JAVA_OPTS\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:01:01Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:01:08Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.2.147\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:02:47Z" + } + ], + "name": "indexer-es-data-hot-1", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-data-hot", + "uid": "2d752cc2-77ac-42b7-a12a-f44e075eb5e0" + } + ], + "resourceVersion": "20054958", + "uid": "ef5bba96-0d68-426b-8494-748b596c352f" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "ES_JAVA_OPTS", + "value": "-Xms8g -Xmx8g" + }, + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-data-hot-1", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-2-170.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-data-hot", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-data-hot-1" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-hot-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-hot-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:01:47Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:02:47Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:02:47Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:01:01Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://66ec20262a8e7b8c48fc0f070c7aa9ebebb666f229ef820a5cd7eb421af1553c", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:01:47Z" + } + } + } + ], + "hostIP": "10.52.2.170", + "initContainerStatuses": [ + { + "containerID": "docker://42c77d329dfa3703aa302c848a7e94c9fac4da7920be8f65e81b1acd8039d8bd", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://42c77d329dfa3703aa302c848a7e94c9fac4da7920be8f65e81b1acd8039d8bd", + "exitCode": 0, + "finishedAt": "2022-03-01T15:01:09Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:01:07Z" + } + } + }, + { + "containerID": "docker://00aa1814ffc3a78f5f075d1783ea442a63a91409174d8a348a1de0587df85c01", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://00aa1814ffc3a78f5f075d1783ea442a63a91409174d8a348a1de0587df85c01", + "exitCode": 0, + "finishedAt": "2022-03-01T15:01:32Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:01:09Z" + } + } + }, + { + "containerID": "docker://a00beb9e2f6d3d449c403dad38bd69fa4c0aa42f5db2ebe3cd2f469ebdc219b9", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://a00beb9e2f6d3d449c403dad38bd69fa4c0aa42f5db2ebe3cd2f469ebdc219b9", + "exitCode": 0, + "finishedAt": "2022-03-01T15:01:33Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:01:33Z" + } + } + }, + { + "containerID": "docker://c93e7a2821662fcbac39728b84ad03b804874531e417571086c6719b2e60d0c9", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://c93e7a2821662fcbac39728b84ad03b804874531e417571086c6719b2e60d0c9", + "exitCode": 0, + "finishedAt": "2022-03-01T15:01:47Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:01:34Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.2.147", + "podIPs": [ + { + "ip": "10.52.2.147" + } + ], + "qosClass": "Guaranteed", + "startTime": "2022-03-01T15:01:01Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:31.782080808Z" + }, + "creationTimestamp": "2022-03-01T14:58:20Z", + "generateName": "indexer-es-data-hot-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-data-hot-6746dd9477", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "1556630720", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "false", + "elasticsearch.k8s.elastic.co/node-data_hot": "true", + "elasticsearch.k8s.elastic.co/node-data_warm": "false", + "elasticsearch.k8s.elastic.co/node-ingest": "false", + "elasticsearch.k8s.elastic.co/node-master": "false", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-data-hot", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-data-hot-2" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"2d752cc2-77ac-42b7-a12a-f44e075eb5e0\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"ES_JAVA_OPTS\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T14:58:20Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T14:58:26Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.3.245\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:00:01Z" + } + ], + "name": "indexer-es-data-hot-2", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-data-hot", + "uid": "2d752cc2-77ac-42b7-a12a-f44e075eb5e0" + } + ], + "resourceVersion": "20054957", + "uid": "8623dce0-b1ab-4a9a-9fdc-f33896bd6331" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "ES_JAVA_OPTS", + "value": "-Xms8g -Xmx8g" + }, + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-data-hot-2", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-hot" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "cpu": "1", + "memory": "16Gi" + }, + "requests": { + "cpu": "1", + "memory": "16Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-3-15.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-data-hot", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-data-hot-2" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-hot-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-hot-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T14:59:05Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:00:01Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:00:01Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T14:58:20Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://b9e6a05edb2ea18f948a3f9c610a7d53502490b9cefccf9ac082b173076ff00d", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T14:59:05Z" + } + } + } + ], + "hostIP": "10.52.3.15", + "initContainerStatuses": [ + { + "containerID": "docker://2e3a6c18723976a5f94c5a29326b44a0f4698aabdb311ecd0fbb157743e62f35", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://2e3a6c18723976a5f94c5a29326b44a0f4698aabdb311ecd0fbb157743e62f35", + "exitCode": 0, + "finishedAt": "2022-03-01T14:58:26Z", + "reason": "Completed", + "startedAt": "2022-03-01T14:58:24Z" + } + } + }, + { + "containerID": "docker://7d07d39a5d7329233d5b26d56ed083b64cbd4a57012660669f17d63e65855d72", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://7d07d39a5d7329233d5b26d56ed083b64cbd4a57012660669f17d63e65855d72", + "exitCode": 0, + "finishedAt": "2022-03-01T14:58:50Z", + "reason": "Completed", + "startedAt": "2022-03-01T14:58:27Z" + } + } + }, + { + "containerID": "docker://4c3b360d774bb7c3f15bc2087d3110a41e04dc35261f948491014b51e85585e2", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://4c3b360d774bb7c3f15bc2087d3110a41e04dc35261f948491014b51e85585e2", + "exitCode": 0, + "finishedAt": "2022-03-01T14:58:50Z", + "reason": "Completed", + "startedAt": "2022-03-01T14:58:50Z" + } + } + }, + { + "containerID": "docker://bef5ed19eb9c219693da7810138e8f53135c8bdbc5b48bede3e4679893fc202c", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://bef5ed19eb9c219693da7810138e8f53135c8bdbc5b48bede3e4679893fc202c", + "exitCode": 0, + "finishedAt": "2022-03-01T14:59:04Z", + "reason": "Completed", + "startedAt": "2022-03-01T14:58:51Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.3.245", + "podIPs": [ + { + "ip": "10.52.3.245" + } + ], + "qosClass": "Guaranteed", + "startTime": "2022-03-01T14:58:20Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:32.142763076Z" + }, + "creationTimestamp": "2022-03-01T15:42:10Z", + "generateName": "indexer-es-data-warm-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-data-warm-6bd8966448", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "1048139741", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "true", + "elasticsearch.k8s.elastic.co/node-data_hot": "false", + "elasticsearch.k8s.elastic.co/node-data_warm": "true", + "elasticsearch.k8s.elastic.co/node-ingest": "true", + "elasticsearch.k8s.elastic.co/node-master": "false", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-data-warm", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-data-warm-0" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"fa62d79b-23e1-4fa7-b27b-129902597736\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"ES_JAVA_OPTS\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:42:10Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:42:21Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.3.240\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:43:57Z" + } + ], + "name": "indexer-es-data-warm-0", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-data-warm", + "uid": "fa62d79b-23e1-4fa7-b27b-129902597736" + } + ], + "resourceVersion": "20054961", + "uid": "13660075-9eb2-487e-aed6-b455dc305325" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "ES_JAVA_OPTS", + "value": "-Xms4g -Xmx4g" + }, + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-data-warm-0", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-3-15.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-data-warm", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-data-warm-0" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-warm-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-warm-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:43:01Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:43:57Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:43:57Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:42:10Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://0e7c17c11214ed0ad1bfc3976c6b0026d8247f865025817e10552a87ade1a21a", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:43:01Z" + } + } + } + ], + "hostIP": "10.52.3.15", + "initContainerStatuses": [ + { + "containerID": "docker://2155fd97e0c7eba58ddd827607e39d041ad222ccfaa165d12f8629661fbac16d", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://2155fd97e0c7eba58ddd827607e39d041ad222ccfaa165d12f8629661fbac16d", + "exitCode": 0, + "finishedAt": "2022-03-01T15:42:22Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:42:20Z" + } + } + }, + { + "containerID": "docker://96b5a42ff4e15b4ad182feb72ab804db726c539e1b92614b0c63ae418cc9adb7", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://96b5a42ff4e15b4ad182feb72ab804db726c539e1b92614b0c63ae418cc9adb7", + "exitCode": 0, + "finishedAt": "2022-03-01T15:42:45Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:42:23Z" + } + } + }, + { + "containerID": "docker://2dbb6c858f612a9b27181fc12f7a70e3c3a66d7a275989c592d6c270310f09cf", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://2dbb6c858f612a9b27181fc12f7a70e3c3a66d7a275989c592d6c270310f09cf", + "exitCode": 0, + "finishedAt": "2022-03-01T15:42:46Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:42:46Z" + } + } + }, + { + "containerID": "docker://5b6199cb9246446c7d93d9127f860afad7af0fd7cccc52f97ca1c5d9ee03e00a", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://5b6199cb9246446c7d93d9127f860afad7af0fd7cccc52f97ca1c5d9ee03e00a", + "exitCode": 0, + "finishedAt": "2022-03-01T15:43:00Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:42:47Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.3.240", + "podIPs": [ + { + "ip": "10.52.3.240" + } + ], + "qosClass": "Guaranteed", + "startTime": "2022-03-01T15:42:10Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:32.190213139Z" + }, + "creationTimestamp": "2022-03-01T15:39:10Z", + "generateName": "indexer-es-data-warm-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-data-warm-6bd8966448", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "1048139741", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "true", + "elasticsearch.k8s.elastic.co/node-data_hot": "false", + "elasticsearch.k8s.elastic.co/node-data_warm": "true", + "elasticsearch.k8s.elastic.co/node-ingest": "true", + "elasticsearch.k8s.elastic.co/node-master": "false", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-data-warm", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-data-warm-1" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"fa62d79b-23e1-4fa7-b27b-129902597736\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"ES_JAVA_OPTS\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:39:10Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:39:20Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.1.81\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:41:02Z" + } + ], + "name": "indexer-es-data-warm-1", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-data-warm", + "uid": "fa62d79b-23e1-4fa7-b27b-129902597736" + } + ], + "resourceVersion": "20054962", + "uid": "4dc03623-6979-4b17-873c-f3b5b4cd0d41" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "ES_JAVA_OPTS", + "value": "-Xms4g -Xmx4g" + }, + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-data-warm-1", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-1-46.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-data-warm", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-data-warm-1" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-warm-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-warm-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:40:01Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:41:02Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:41:02Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:39:10Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://63a30b7893f1ef5200ca20a9036c75fcf5d7a757a326f47f3868004a3508a310", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:40:01Z" + } + } + } + ], + "hostIP": "10.52.1.46", + "initContainerStatuses": [ + { + "containerID": "docker://4bfd42d13f7b3386018485bda4af216539258da93772f87c7449854e4a679d0c", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://4bfd42d13f7b3386018485bda4af216539258da93772f87c7449854e4a679d0c", + "exitCode": 0, + "finishedAt": "2022-03-01T15:39:22Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:39:20Z" + } + } + }, + { + "containerID": "docker://0aab01b3b83a21d4c32d4e0d4bfcfbbee36c82fb3420c7d3850afcd0ab362695", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://0aab01b3b83a21d4c32d4e0d4bfcfbbee36c82fb3420c7d3850afcd0ab362695", + "exitCode": 0, + "finishedAt": "2022-03-01T15:39:45Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:39:22Z" + } + } + }, + { + "containerID": "docker://aa26139d623bb8edae577a1bd3bc375137acc3a3b1611421f4439cf00023474a", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://aa26139d623bb8edae577a1bd3bc375137acc3a3b1611421f4439cf00023474a", + "exitCode": 0, + "finishedAt": "2022-03-01T15:39:46Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:39:46Z" + } + } + }, + { + "containerID": "docker://ca99c0e80447053e2ceb83e3b8cc6b40ba8bf1d79e6ae08e4680fcc42afa5d07", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://ca99c0e80447053e2ceb83e3b8cc6b40ba8bf1d79e6ae08e4680fcc42afa5d07", + "exitCode": 0, + "finishedAt": "2022-03-01T15:40:00Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:39:47Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.1.81", + "podIPs": [ + { + "ip": "10.52.1.81" + } + ], + "qosClass": "Guaranteed", + "startTime": "2022-03-01T15:39:10Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:32.296016765Z" + }, + "creationTimestamp": "2022-03-01T15:36:26Z", + "generateName": "indexer-es-data-warm-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-data-warm-6bd8966448", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "1048139741", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "true", + "elasticsearch.k8s.elastic.co/node-data_hot": "false", + "elasticsearch.k8s.elastic.co/node-data_warm": "true", + "elasticsearch.k8s.elastic.co/node-ingest": "true", + "elasticsearch.k8s.elastic.co/node-master": "false", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-data-warm", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-data-warm-2" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"fa62d79b-23e1-4fa7-b27b-129902597736\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"ES_JAVA_OPTS\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:36:26Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:36:30Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.2.231\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:38:02Z" + } + ], + "name": "indexer-es-data-warm-2", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-data-warm", + "uid": "fa62d79b-23e1-4fa7-b27b-129902597736" + } + ], + "resourceVersion": "20054964", + "uid": "92b9dbdd-0c2c-445c-aa05-40d6b6fcb182" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "ES_JAVA_OPTS", + "value": "-Xms4g -Xmx4g" + }, + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-data-warm-2", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-data-warm" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "cpu": "1", + "memory": "6Gi" + }, + "requests": { + "cpu": "1", + "memory": "6Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-2-170.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-data-warm", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-data-warm-2" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-warm-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-data-warm-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:37:08Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:38:02Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:38:02Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:36:26Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://efe1e271f574e0e86a70810494dc5c72e1d2f972259564c51c2055d7b5a885c7", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:37:08Z" + } + } + } + ], + "hostIP": "10.52.2.170", + "initContainerStatuses": [ + { + "containerID": "docker://b9e52b1eeb85eb6dc0bcc05b6913201a081aae28a65a3e24b19de7d1babb5d9f", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://b9e52b1eeb85eb6dc0bcc05b6913201a081aae28a65a3e24b19de7d1babb5d9f", + "exitCode": 0, + "finishedAt": "2022-03-01T15:36:31Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:36:29Z" + } + } + }, + { + "containerID": "docker://8c6a7c3312f7291dbe4f71f83f0d7c0d22a484afef2d920dfc5bdad883f0b3ae", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://8c6a7c3312f7291dbe4f71f83f0d7c0d22a484afef2d920dfc5bdad883f0b3ae", + "exitCode": 0, + "finishedAt": "2022-03-01T15:36:53Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:36:32Z" + } + } + }, + { + "containerID": "docker://8247e8fae3289d16febb05b444524b54c608a4550a56a47081d9c4fb9209a91e", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://8247e8fae3289d16febb05b444524b54c608a4550a56a47081d9c4fb9209a91e", + "exitCode": 0, + "finishedAt": "2022-03-01T15:36:54Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:36:54Z" + } + } + }, + { + "containerID": "docker://49581e04333af298311fcf48fc0e29517cc2abc78a122b22cc649edbc60c0432", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://49581e04333af298311fcf48fc0e29517cc2abc78a122b22cc649edbc60c0432", + "exitCode": 0, + "finishedAt": "2022-03-01T15:37:08Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:36:55Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.2.231", + "podIPs": [ + { + "ip": "10.52.2.231" + } + ], + "qosClass": "Guaranteed", + "startTime": "2022-03-01T15:36:26Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:32.089221369Z" + }, + "creationTimestamp": "2022-03-01T15:49:11Z", + "generateName": "indexer-es-master-node-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-master-node-8648f89d48", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "917152721", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "false", + "elasticsearch.k8s.elastic.co/node-data_hot": "false", + "elasticsearch.k8s.elastic.co/node-data_warm": "false", + "elasticsearch.k8s.elastic.co/node-ingest": "false", + "elasticsearch.k8s.elastic.co/node-master": "true", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-master-node", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-master-node-0" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"256808fd-92b4-4b0a-acd1-9989784bdd5d\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:49:11Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:49:12Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.2.218\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:50:32Z" + } + ], + "name": "indexer-es-master-node-0", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-master-node", + "uid": "256808fd-92b4-4b0a-acd1-9989784bdd5d" + } + ], + "resourceVersion": "20055161", + "uid": "806b5359-3125-42b0-85c2-cb6abe147c16" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-master-node-0", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-2-170.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-master-node", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-master-node-0" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-master-node-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-master-node-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:50:04Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:50:32Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:50:32Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:49:11Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://3b2d138bb7d2524e2c88eeae53c8edff4e18d446a5a587045653d0a73dead788", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:50:04Z" + } + } + } + ], + "hostIP": "10.52.2.170", + "initContainerStatuses": [ + { + "containerID": "docker://42a30116732bbf5f26eb07ca1869b9bed18eea052b07b0e8327cf5415243eba0", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://42a30116732bbf5f26eb07ca1869b9bed18eea052b07b0e8327cf5415243eba0", + "exitCode": 0, + "finishedAt": "2022-03-01T15:49:31Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:49:29Z" + } + } + }, + { + "containerID": "docker://fe71931ee146e82b023a2bdda8527bb9bcf8f7cb3c6137b32f64449b095bdace", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://fe71931ee146e82b023a2bdda8527bb9bcf8f7cb3c6137b32f64449b095bdace", + "exitCode": 0, + "finishedAt": "2022-03-01T15:49:55Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:49:32Z" + } + } + }, + { + "containerID": "docker://c6e455eeade78a6508ff8afc3d715dceda29b1b0785f8e68a5fb16559f63cab2", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://c6e455eeade78a6508ff8afc3d715dceda29b1b0785f8e68a5fb16559f63cab2", + "exitCode": 0, + "finishedAt": "2022-03-01T15:49:56Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:49:56Z" + } + } + }, + { + "containerID": "docker://8e620d852b054b3b4cea0a31753995c82b272382ab734d107d61679fa5f1f89b", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://8e620d852b054b3b4cea0a31753995c82b272382ab734d107d61679fa5f1f89b", + "exitCode": 0, + "finishedAt": "2022-03-01T15:50:03Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:49:57Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.2.218", + "podIPs": [ + { + "ip": "10.52.2.218" + } + ], + "qosClass": "Burstable", + "startTime": "2022-03-01T15:49:11Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:32.024562369Z" + }, + "creationTimestamp": "2022-03-01T15:47:07Z", + "generateName": "indexer-es-master-node-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-master-node-8648f89d48", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "917152721", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "false", + "elasticsearch.k8s.elastic.co/node-data_hot": "false", + "elasticsearch.k8s.elastic.co/node-data_warm": "false", + "elasticsearch.k8s.elastic.co/node-ingest": "false", + "elasticsearch.k8s.elastic.co/node-master": "true", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-master-node", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-master-node-1" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"256808fd-92b4-4b0a-acd1-9989784bdd5d\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:47:07Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:47:08Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.3.95\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:48:08Z" + } + ], + "name": "indexer-es-master-node-1", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-master-node", + "uid": "256808fd-92b4-4b0a-acd1-9989784bdd5d" + } + ], + "resourceVersion": "20054959", + "uid": "c9cdd212-ab56-4754-895b-7cee22770b4a" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-master-node-1", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-3-15.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-master-node", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-master-node-1" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-master-node-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-master-node-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:47:44Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:48:07Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:48:07Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:47:07Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://324817e8c630a635c1e55ab6f2d4666991f35e017b60be6974140d2117a8a56d", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:47:44Z" + } + } + } + ], + "hostIP": "10.52.3.15", + "initContainerStatuses": [ + { + "containerID": "docker://2a0162416ba7252a4794f8bbfb585da617a60fd2d4146bcc93de17644793fdd8", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://2a0162416ba7252a4794f8bbfb585da617a60fd2d4146bcc93de17644793fdd8", + "exitCode": 0, + "finishedAt": "2022-03-01T15:47:11Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:47:10Z" + } + } + }, + { + "containerID": "docker://a49a6b808e88409dcdae8d7805b10f533b075682a23d7b8a37386cfc879e7437", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://a49a6b808e88409dcdae8d7805b10f533b075682a23d7b8a37386cfc879e7437", + "exitCode": 0, + "finishedAt": "2022-03-01T15:47:35Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:47:12Z" + } + } + }, + { + "containerID": "docker://50bd1508dbde8e584f20f1931551624701c1ae831b0f759d6054600d3d7230d8", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://50bd1508dbde8e584f20f1931551624701c1ae831b0f759d6054600d3d7230d8", + "exitCode": 0, + "finishedAt": "2022-03-01T15:47:35Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:47:35Z" + } + } + }, + { + "containerID": "docker://aa98e66c7abbd8fa6c9c303a27fd3713cb9b398ed5d5b08b03df0489f0519320", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://aa98e66c7abbd8fa6c9c303a27fd3713cb9b398ed5d5b08b03df0489f0519320", + "exitCode": 0, + "finishedAt": "2022-03-01T15:47:43Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:47:36Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.3.95", + "podIPs": [ + { + "ip": "10.52.3.95" + } + ], + "qosClass": "Burstable", + "startTime": "2022-03-01T15:47:07Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "elasticsearch", + "kubernetes.io/psp": "eks.privileged", + "update.k8s.elastic.co/timestamp": "2022-03-01T15:49:31.67869667Z" + }, + "creationTimestamp": "2022-03-01T15:45:03Z", + "generateName": "indexer-es-master-node-", + "labels": { + "common.k8s.elastic.co/type": "elasticsearch", + "controller-revision-hash": "indexer-es-master-node-8648f89d48", + "elasticsearch.k8s.elastic.co/cluster-name": "indexer", + "elasticsearch.k8s.elastic.co/config-hash": "917152721", + "elasticsearch.k8s.elastic.co/http-scheme": "https", + "elasticsearch.k8s.elastic.co/node-data": "false", + "elasticsearch.k8s.elastic.co/node-data_cold": "false", + "elasticsearch.k8s.elastic.co/node-data_content": "false", + "elasticsearch.k8s.elastic.co/node-data_hot": "false", + "elasticsearch.k8s.elastic.co/node-data_warm": "false", + "elasticsearch.k8s.elastic.co/node-ingest": "false", + "elasticsearch.k8s.elastic.co/node-master": "true", + "elasticsearch.k8s.elastic.co/node-ml": "false", + "elasticsearch.k8s.elastic.co/node-remote_cluster_client": "false", + "elasticsearch.k8s.elastic.co/node-transform": "false", + "elasticsearch.k8s.elastic.co/node-voting_only": "false", + "elasticsearch.k8s.elastic.co/secure-settings-hash": "9e7afef016ab36708d037dcc597d959d47ac494db5afb7d6fc239139", + "elasticsearch.k8s.elastic.co/statefulset-name": "indexer-es-master-node", + "elasticsearch.k8s.elastic.co/version": "7.16.3", + "statefulset.kubernetes.io/pod-name": "indexer-es-master-node-2" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:controller-revision-hash": {}, + "f:elasticsearch.k8s.elastic.co/cluster-name": {}, + "f:elasticsearch.k8s.elastic.co/config-hash": {}, + "f:elasticsearch.k8s.elastic.co/http-scheme": {}, + "f:elasticsearch.k8s.elastic.co/node-data": {}, + "f:elasticsearch.k8s.elastic.co/node-data_cold": {}, + "f:elasticsearch.k8s.elastic.co/node-data_content": {}, + "f:elasticsearch.k8s.elastic.co/node-data_hot": {}, + "f:elasticsearch.k8s.elastic.co/node-data_warm": {}, + "f:elasticsearch.k8s.elastic.co/node-ingest": {}, + "f:elasticsearch.k8s.elastic.co/node-master": {}, + "f:elasticsearch.k8s.elastic.co/node-ml": {}, + "f:elasticsearch.k8s.elastic.co/node-remote_cluster_client": {}, + "f:elasticsearch.k8s.elastic.co/node-transform": {}, + "f:elasticsearch.k8s.elastic.co/node-voting_only": {}, + "f:elasticsearch.k8s.elastic.co/secure-settings-hash": {}, + "f:elasticsearch.k8s.elastic.co/statefulset-name": {}, + "f:elasticsearch.k8s.elastic.co/version": {}, + "f:statefulset.kubernetes.io/pod-name": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"256808fd-92b4-4b0a-acd1-9989784bdd5d\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:affinity": { + ".": {}, + "f:podAntiAffinity": { + ".": {}, + "f:preferredDuringSchedulingIgnoredDuringExecution": {} + } + }, + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"elasticsearch\"}": { + ".": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NSS_SDB_USE_CACHE\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"PROBE_PASSWORD_PATH\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"PROBE_USERNAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"READINESS_PROBE_PROTOCOL\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:lifecycle": { + ".": {}, + "f:preStop": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + } + } + }, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":9200,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + }, + "k:{\"containerPort\":9300,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:exec": { + ".": {}, + "f:command": {} + }, + "f:failureThreshold": {}, + "f:initialDelaySeconds": {}, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:hostname": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-filesystem\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-bin-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-plugins-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/transport-certificates\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-init-keystore\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/secure-settings\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"elastic-internal-suspend\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + }, + "k:{\"name\":\"install-plugins\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"HEADLESS_SERVICE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:value": {} + }, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/downward-api\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/elasticsearch-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/probe-user\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/scripts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/unicast-hosts\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/xpack-file-realm\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/bin\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/http-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/config/transport-remote-certs/\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/logs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/elasticsearch/plugins\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:subdomain": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"downward-api\"}": { + ".": {}, + "f:downwardAPI": { + ".": {}, + "f:defaultMode": {}, + "f:items": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-bin-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-elasticsearch-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-elasticsearch-plugins-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-http-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-probe-user\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:items": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-remote-certificate-authorities\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-scripts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-secure-settings\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-transport-certificates\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-unicast-hosts\"}": { + ".": {}, + "f:configMap": { + ".": {}, + "f:defaultMode": {}, + "f:name": {}, + "f:optional": {} + }, + "f:name": {} + }, + "k:{\"name\":\"elastic-internal-xpack-file-realm\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elasticsearch-data\"}": { + ".": {}, + "f:name": {}, + "f:persistentVolumeClaim": { + ".": {}, + "f:claimName": {} + } + }, + "k:{\"name\":\"elasticsearch-logs\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-01T15:45:03Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + "f:update.k8s.elastic.co/timestamp": {} + } + } + }, + "manager": "elastic-operator", + "operation": "Update", + "time": "2022-03-01T15:45:04Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.1.155\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-01T15:46:14Z" + } + ], + "name": "indexer-es-master-node-2", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "StatefulSet", + "name": "indexer-es-master-node", + "uid": "256808fd-92b4-4b0a-acd1-9989784bdd5d" + } + ], + "resourceVersion": "20054953", + "uid": "01732ca3-1981-4e60-a2da-0a8592d58831" + }, + "spec": { + "affinity": { + "podAntiAffinity": { + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "elasticsearch.k8s.elastic.co/cluster-name": "indexer" + } + }, + "topologyKey": "kubernetes.io/hostname" + }, + "weight": 100 + } + ] + } + }, + "automountServiceAccountToken": false, + "containers": [ + { + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "PROBE_PASSWORD_PATH", + "value": "/mnt/elastic-internal/probe-user/elastic-internal-probe" + }, + { + "name": "PROBE_USERNAME", + "value": "elastic-internal-probe" + }, + { + "name": "READINESS_PROBE_PROTOCOL", + "value": "https" + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + }, + { + "name": "NSS_SDB_USE_CACHE", + "value": "no" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/pre-stop-hook-script.sh" + ] + } + } + }, + "name": "elasticsearch", + "ports": [ + { + "containerPort": 9200, + "name": "https", + "protocol": "TCP" + }, + { + "containerPort": 9300, + "name": "transport", + "protocol": "TCP" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/readiness-probe-script.sh" + ] + }, + "failureThreshold": 3, + "initialDelaySeconds": 10, + "periodSeconds": 5, + "successThreshold": 1, + "timeoutSeconds": 5 + }, + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "hostname": "indexer-es-master-node-2", + "initContainers": [ + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/prepare-fs.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-filesystem", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-bin-local", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config-local", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-plugins-local", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/transport-certificates", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\n\nset -eux\n\nkeystore_initialized_flag=/usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\n\nif [[ -f \"${keystore_initialized_flag}\" ]]; then\n echo \"Keystore already initialized.\"\n\texit 0\nfi\n\necho \"Initializing keystore.\"\n\n# create a keystore in the default data path\n/usr/share/elasticsearch/bin/elasticsearch-keystore create\n\n# add all existing secret entries into it\nfor filename in /mnt/elastic-internal/secure-settings/*; do\n\t[[ -e \"$filename\" ]] || continue # glob does not match\n\tkey=$(basename \"$filename\")\n\techo \"Adding \"$key\" to the keystore.\"\n\t/usr/share/elasticsearch/bin/elasticsearch-keystore add-file \"$key\" \"$filename\"\ndone\n\ntouch /usr/share/elasticsearch/config/elastic-internal-init-keystore.ok\necho \"Keystore initialization successful.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-keystore", + "resources": { + "limits": { + "cpu": "500m", + "memory": "196Mi" + }, + "requests": { + "cpu": "500m", + "memory": "196Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/secure-settings", + "name": "elastic-internal-secure-settings", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "bash", + "-c", + "/mnt/elastic-internal/scripts/suspend.sh" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-suspend", + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + }, + { + "command": [ + "sh", + "-c", + "bin/elasticsearch-plugin remove --batch repository-s3\nbin/elasticsearch-plugin install --batch repository-s3\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + }, + { + "name": "HEADLESS_SERVICE_NAME", + "value": "indexer-es-master-node" + } + ], + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "install-plugins", + "resources": { + "limits": { + "memory": "2Gi" + }, + "requests": { + "memory": "2Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/downward-api", + "name": "downward-api", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/bin", + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "mountPath": "/mnt/elastic-internal/elasticsearch-config", + "name": "elastic-internal-elasticsearch-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config", + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "mountPath": "/usr/share/elasticsearch/plugins", + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "mountPath": "/usr/share/elasticsearch/config/http-certs", + "name": "elastic-internal-http-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/probe-user", + "name": "elastic-internal-probe-user", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-remote-certs/", + "name": "elastic-internal-remote-certificate-authorities", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/scripts", + "name": "elastic-internal-scripts", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/config/transport-certs", + "name": "elastic-internal-transport-certificates", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/unicast-hosts", + "name": "elastic-internal-unicast-hosts", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/xpack-file-realm", + "name": "elastic-internal-xpack-file-realm", + "readOnly": true + }, + { + "mountPath": "/usr/share/elasticsearch/data", + "name": "elasticsearch-data" + }, + { + "mountPath": "/usr/share/elasticsearch/logs", + "name": "elasticsearch-logs" + } + ] + } + ], + "nodeName": "ip-10-52-1-46.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "subdomain": "indexer-es-master-node", + "terminationGracePeriodSeconds": 180, + "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": "elasticsearch-data", + "persistentVolumeClaim": { + "claimName": "elasticsearch-data-indexer-es-master-node-2" + } + }, + { + "downwardAPI": { + "defaultMode": 420, + "items": [ + { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.labels" + }, + "path": "labels" + } + ] + }, + "name": "downward-api" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-bin-local" + }, + { + "name": "elastic-internal-elasticsearch-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-master-node-es-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-config-local" + }, + { + "emptyDir": {}, + "name": "elastic-internal-elasticsearch-plugins-local" + }, + { + "name": "elastic-internal-http-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-http-certs-internal" + } + }, + { + "name": "elastic-internal-probe-user", + "secret": { + "defaultMode": 420, + "items": [ + { + "key": "elastic-internal-probe", + "path": "elastic-internal-probe" + } + ], + "optional": false, + "secretName": "indexer-es-internal-users" + } + }, + { + "name": "elastic-internal-remote-certificate-authorities", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-remote-ca" + } + }, + { + "configMap": { + "defaultMode": 493, + "name": "indexer-es-scripts", + "optional": false + }, + "name": "elastic-internal-scripts" + }, + { + "name": "elastic-internal-secure-settings", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-secure-settings" + } + }, + { + "name": "elastic-internal-transport-certificates", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-master-node-es-transport-certs" + } + }, + { + "configMap": { + "defaultMode": 420, + "name": "indexer-es-unicast-hosts", + "optional": false + }, + "name": "elastic-internal-unicast-hosts" + }, + { + "name": "elastic-internal-xpack-file-realm", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-es-xpack-file-realm" + } + }, + { + "emptyDir": {}, + "name": "elasticsearch-logs" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:45:47Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:46:14Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:46:14Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-01T15:45:03Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://4057d6f5210d524585c108b4bf3ff8f9b7c090b7bf19f3a65dcbaf681e240886", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elasticsearch", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-01T15:45:47Z" + } + } + } + ], + "hostIP": "10.52.1.46", + "initContainerStatuses": [ + { + "containerID": "docker://08d5cebd6672dcae494d117122c806ccc996806163dbdd5702bad7f8125066ea", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-filesystem", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://08d5cebd6672dcae494d117122c806ccc996806163dbdd5702bad7f8125066ea", + "exitCode": 0, + "finishedAt": "2022-03-01T15:45:15Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:45:13Z" + } + } + }, + { + "containerID": "docker://8a9422525d922b7ca598a7835a39c0a5423bc90fb07dbd91f4b49df40616e048", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-init-keystore", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://8a9422525d922b7ca598a7835a39c0a5423bc90fb07dbd91f4b49df40616e048", + "exitCode": 0, + "finishedAt": "2022-03-01T15:45:38Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:45:15Z" + } + } + }, + { + "containerID": "docker://8d04b28c898a7f6ad1022327104cbb5d5fdf862213299f1ea7bc59c26c905ad4", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "elastic-internal-suspend", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://8d04b28c898a7f6ad1022327104cbb5d5fdf862213299f1ea7bc59c26c905ad4", + "exitCode": 0, + "finishedAt": "2022-03-01T15:45:39Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:45:39Z" + } + } + }, + { + "containerID": "docker://bd4237d4f85bb61eac72fda6ddd2e2deb7ebe26be42142bd118bb91446122b20", + "image": "docker.elastic.co/elasticsearch/elasticsearch:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/elasticsearch/elasticsearch@sha256:0efc3a054ae97ad00cccc33b9ef79ec022970b2a9949893db4ef199edcdca2ce", + "lastState": {}, + "name": "install-plugins", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://bd4237d4f85bb61eac72fda6ddd2e2deb7ebe26be42142bd118bb91446122b20", + "exitCode": 0, + "finishedAt": "2022-03-01T15:45:46Z", + "reason": "Completed", + "startedAt": "2022-03-01T15:45:40Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.1.155", + "podIPs": [ + { + "ip": "10.52.1.155" + } + ], + "qosClass": "Burstable", + "startTime": "2022-03-01T15:45:03Z" + } + }, + { + "apiVersion": "v1", + "kind": "Pod", + "metadata": { + "annotations": { + "co.elastic.logs/module": "kibana", + "kubernetes.io/psp": "eks.privileged" + }, + "creationTimestamp": "2022-03-07T07:11:46Z", + "generateName": "indexer-kb-556cdcbdf-", + "labels": { + "common.k8s.elastic.co/type": "kibana", + "kibana.k8s.elastic.co/config-checksum": "7f7f1da7a58728586dbd088b31596e90d6135ae16a0283d235b3b49d", + "kibana.k8s.elastic.co/name": "indexer", + "kibana.k8s.elastic.co/version": "7.16.3", + "pod-template-hash": "556cdcbdf" + }, + "managedFields": [ + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:metadata": { + "f:annotations": { + ".": {}, + "f:co.elastic.logs/module": {} + }, + "f:generateName": {}, + "f:labels": { + ".": {}, + "f:common.k8s.elastic.co/type": {}, + "f:kibana.k8s.elastic.co/config-checksum": {}, + "f:kibana.k8s.elastic.co/name": {}, + "f:kibana.k8s.elastic.co/version": {}, + "f:pod-template-hash": {} + }, + "f:ownerReferences": { + ".": {}, + "k:{\"uid\":\"44d8a127-6a4c-4d2b-a2da-04ccf15a9be7\"}": { + ".": {}, + "f:apiVersion": {}, + "f:blockOwnerDeletion": {}, + "f:controller": {}, + "f:kind": {}, + "f:name": {}, + "f:uid": {} + } + } + }, + "f:spec": { + "f:automountServiceAccountToken": {}, + "f:containers": { + "k:{\"name\":\"kibana\"}": { + ".": {}, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:ports": { + ".": {}, + "k:{\"containerPort\":5601,\"protocol\":\"TCP\"}": { + ".": {}, + "f:containerPort": {}, + "f:name": {}, + "f:protocol": {} + } + }, + "f:readinessProbe": { + ".": {}, + "f:failureThreshold": {}, + "f:httpGet": { + ".": {}, + "f:path": {}, + "f:port": {}, + "f:scheme": {} + }, + "f:periodSeconds": {}, + "f:successThreshold": {}, + "f:timeoutSeconds": {} + }, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:memory": {} + } + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/kibana-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/kibana/config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/kibana/config/elasticsearch-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/kibana/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:dnsPolicy": {}, + "f:enableServiceLinks": {}, + "f:initContainers": { + ".": {}, + "k:{\"name\":\"elastic-internal-init-config\"}": { + ".": {}, + "f:command": {}, + "f:env": { + ".": {}, + "k:{\"name\":\"NAMESPACE\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"NODE_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_IP\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + }, + "k:{\"name\":\"POD_NAME\"}": { + ".": {}, + "f:name": {}, + "f:valueFrom": { + ".": {}, + "f:fieldRef": { + ".": {}, + "f:apiVersion": {}, + "f:fieldPath": {} + } + } + } + }, + "f:image": {}, + "f:imagePullPolicy": {}, + "f:name": {}, + "f:resources": { + ".": {}, + "f:limits": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + }, + "f:requests": { + ".": {}, + "f:cpu": {}, + "f:memory": {} + } + }, + "f:securityContext": { + ".": {}, + "f:privileged": {} + }, + "f:terminationMessagePath": {}, + "f:terminationMessagePolicy": {}, + "f:volumeMounts": { + ".": {}, + "k:{\"mountPath\":\"/mnt/elastic-internal/kibana-config\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/mnt/elastic-internal/kibana-config-local\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + }, + "k:{\"mountPath\":\"/usr/share/kibana/config/elasticsearch-certs\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {}, + "f:readOnly": {} + }, + "k:{\"mountPath\":\"/usr/share/kibana/data\"}": { + ".": {}, + "f:mountPath": {}, + "f:name": {} + } + } + } + }, + "f:restartPolicy": {}, + "f:schedulerName": {}, + "f:securityContext": {}, + "f:terminationGracePeriodSeconds": {}, + "f:volumes": { + ".": {}, + "k:{\"name\":\"elastic-internal-kibana-config\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"elastic-internal-kibana-config-local\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + }, + "k:{\"name\":\"elasticsearch-certs\"}": { + ".": {}, + "f:name": {}, + "f:secret": { + ".": {}, + "f:defaultMode": {}, + "f:optional": {}, + "f:secretName": {} + } + }, + "k:{\"name\":\"kibana-data\"}": { + ".": {}, + "f:emptyDir": {}, + "f:name": {} + } + } + } + }, + "manager": "kube-controller-manager", + "operation": "Update", + "time": "2022-03-07T07:11:46Z" + }, + { + "apiVersion": "v1", + "fieldsType": "FieldsV1", + "fieldsV1": { + "f:status": { + "f:conditions": { + "k:{\"type\":\"ContainersReady\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Initialized\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + }, + "k:{\"type\":\"Ready\"}": { + ".": {}, + "f:lastProbeTime": {}, + "f:lastTransitionTime": {}, + "f:status": {}, + "f:type": {} + } + }, + "f:containerStatuses": {}, + "f:hostIP": {}, + "f:initContainerStatuses": {}, + "f:phase": {}, + "f:podIP": {}, + "f:podIPs": { + ".": {}, + "k:{\"ip\":\"10.52.1.120\"}": { + ".": {}, + "f:ip": {} + } + }, + "f:startTime": {} + } + }, + "manager": "kubelet", + "operation": "Update", + "time": "2022-03-07T07:12:26Z" + } + ], + "name": "indexer-kb-556cdcbdf-hrxh4", + "namespace": "default", + "ownerReferences": [ + { + "apiVersion": "apps/v1", + "blockOwnerDeletion": true, + "controller": true, + "kind": "ReplicaSet", + "name": "indexer-kb-556cdcbdf", + "uid": "44d8a127-6a4c-4d2b-a2da-04ccf15a9be7" + } + ], + "resourceVersion": "21459857", + "uid": "7a74c25a-5da4-49e8-b3c6-811de55aca4b" + }, + "spec": { + "automountServiceAccountToken": false, + "containers": [ + { + "image": "docker.elastic.co/kibana/kibana:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "kibana", + "ports": [ + { + "containerPort": 5601, + "name": "http", + "protocol": "TCP" + } + ], + "readinessProbe": { + "failureThreshold": 3, + "httpGet": { + "path": "/truevadix/login", + "port": 5601, + "scheme": "HTTP" + }, + "periodSeconds": 10, + "successThreshold": 1, + "timeoutSeconds": 1 + }, + "resources": { + "limits": { + "memory": "1Gi" + }, + "requests": { + "memory": "1Gi" + } + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/kibana-config", + "name": "elastic-internal-kibana-config", + "readOnly": true + }, + { + "mountPath": "/usr/share/kibana/config", + "name": "elastic-internal-kibana-config-local" + }, + { + "mountPath": "/usr/share/kibana/config/elasticsearch-certs", + "name": "elasticsearch-certs", + "readOnly": true + }, + { + "mountPath": "/usr/share/kibana/data", + "name": "kibana-data" + } + ] + } + ], + "dnsPolicy": "ClusterFirst", + "enableServiceLinks": true, + "initContainers": [ + { + "command": [ + "/usr/bin/env", + "bash", + "-c", + "#!/usr/bin/env bash\nset -eux\n\ninit_config_initialized_flag=/mnt/elastic-internal/kibana-config-local/elastic-internal-init-config.ok\n\nif [[ -f \"${init_config_initialized_flag}\" ]]; then\n echo \"Kibana configuration already initialized.\"\n\texit 0\nfi\n\necho \"Setup Kibana configuration\"\n\nln -sf /mnt/elastic-internal/kibana-config/* /mnt/elastic-internal/kibana-config-local/\n\ntouch \"${init_config_initialized_flag}\"\necho \"Kibana configuration successfully prepared.\"\n" + ], + "env": [ + { + "name": "POD_IP", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "status.podIP" + } + } + }, + { + "name": "POD_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.name" + } + } + }, + { + "name": "NODE_NAME", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "spec.nodeName" + } + } + }, + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + } + ], + "image": "docker.elastic.co/kibana/kibana:7.16.3", + "imagePullPolicy": "IfNotPresent", + "name": "elastic-internal-init-config", + "resources": { + "limits": { + "cpu": "100m", + "memory": "50Mi" + }, + "requests": { + "cpu": "100m", + "memory": "50Mi" + } + }, + "securityContext": { + "privileged": false + }, + "terminationMessagePath": "/dev/termination-log", + "terminationMessagePolicy": "File", + "volumeMounts": [ + { + "mountPath": "/mnt/elastic-internal/kibana-config", + "name": "elastic-internal-kibana-config", + "readOnly": true + }, + { + "mountPath": "/mnt/elastic-internal/kibana-config-local", + "name": "elastic-internal-kibana-config-local" + }, + { + "mountPath": "/usr/share/kibana/config/elasticsearch-certs", + "name": "elasticsearch-certs", + "readOnly": true + }, + { + "mountPath": "/usr/share/kibana/data", + "name": "kibana-data" + } + ] + } + ], + "nodeName": "ip-10-52-1-46.eu-central-1.compute.internal", + "preemptionPolicy": "PreemptLowerPriority", + "priority": 0, + "restartPolicy": "Always", + "schedulerName": "default-scheduler", + "securityContext": {}, + "serviceAccount": "default", + "serviceAccountName": "default", + "terminationGracePeriodSeconds": 30, + "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": "elastic-internal-kibana-config", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-kb-config" + } + }, + { + "emptyDir": {}, + "name": "elastic-internal-kibana-config-local" + }, + { + "name": "elasticsearch-certs", + "secret": { + "defaultMode": 420, + "optional": false, + "secretName": "indexer-kb-es-ca" + } + }, + { + "emptyDir": {}, + "name": "kibana-data" + } + ] + }, + "status": { + "conditions": [ + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-07T07:11:48Z", + "status": "True", + "type": "Initialized" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-07T07:12:26Z", + "status": "True", + "type": "Ready" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-07T07:12:26Z", + "status": "True", + "type": "ContainersReady" + }, + { + "lastProbeTime": null, + "lastTransitionTime": "2022-03-07T07:11:46Z", + "status": "True", + "type": "PodScheduled" + } + ], + "containerStatuses": [ + { + "containerID": "docker://b1bc41a87c2e696af9db9594c4ef2b84060fceefc45185f4201f988e73490222", + "image": "docker.elastic.co/kibana/kibana:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/kibana/kibana@sha256:6c9867bd8e91737db8fa73ca6f522b2836ed1300bcc31dee96e62dc1e6413191", + "lastState": {}, + "name": "kibana", + "ready": true, + "restartCount": 0, + "started": true, + "state": { + "running": { + "startedAt": "2022-03-07T07:11:48Z" + } + } + } + ], + "hostIP": "10.52.1.46", + "initContainerStatuses": [ + { + "containerID": "docker://af5215e76d97fe898431a64800f4573d73254abc776da5e91b199427ea4948d8", + "image": "docker.elastic.co/kibana/kibana:7.16.3", + "imageID": "docker-pullable://docker.elastic.co/kibana/kibana@sha256:6c9867bd8e91737db8fa73ca6f522b2836ed1300bcc31dee96e62dc1e6413191", + "lastState": {}, + "name": "elastic-internal-init-config", + "ready": true, + "restartCount": 0, + "state": { + "terminated": { + "containerID": "docker://af5215e76d97fe898431a64800f4573d73254abc776da5e91b199427ea4948d8", + "exitCode": 0, + "finishedAt": "2022-03-07T07:11:47Z", + "reason": "Completed", + "startedAt": "2022-03-07T07:11:47Z" + } + } + } + ], + "phase": "Running", + "podIP": "10.52.1.120", + "podIPs": [ + { + "ip": "10.52.1.120" + } + ], + "qosClass": "Burstable", + "startTime": "2022-03-07T07:11:46Z" + } + } + ] +}