Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Dudesons
Created December 3, 2019 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dudesons/8dc56e0813ba1030302aa00af1ab2203 to your computer and use it in GitHub Desktop.
Save Dudesons/8dc56e0813ba1030302aa00af1ab2203 to your computer and use it in GitHub Desktop.
Name: datawarehouse
Namespace: default
Labels: <none>
Annotations: common.k8s.elastic.co/controller-version: 1.0.0-beta1
elasticsearch.k8s.elastic.co/cluster-uuid: wxkIfu4ERM22KqYGGkmBaA
API Version: elasticsearch.k8s.elastic.co/v1beta1
Kind: Elasticsearch
Metadata:
Creation Timestamp: 2019-12-02T15:32:52Z
Finalizers:
finalizer.elasticsearch.k8s.elastic.co/observer
finalizer.elasticsearch.k8s.elastic.co/secure-settings-secret
finalizer.elasticsearch.k8s.elastic.co/http-certificates-secret
Generation: 2
Resource Version: 19060584
Self Link: /apis/elasticsearch.k8s.elastic.co/v1beta1/namespaces/default/elasticsearches/datawarehouse
UID: 00e77820-1519-11ea-a8fa-4201c0a8000b
Spec:
Http:
Service:
Metadata:
Creation Timestamp: <nil>
Spec:
Tls:
Certificate:
Image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2
Node Sets:
Config:
cluster.routing.allocation.awareness.attributes: all
node.attr.zone: europe-west1-a
node.data: false
node.master: true
Count: 1
Name: master-europe-west1-a
Pod Template:
Metadata:
Creation Timestamp: <nil>
Spec:
Affinity:
Node Affinity:
Required During Scheduling Ignored During Execution:
Node Selector Terms:
Match Expressions:
Key: failure-domain.beta.kubernetes.io/zone
Operator: In
Values:
europe-west1-a
Match Expressions:
Key: workloadType
Operator: In
Values:
elasticsearch
Pod Anti Affinity:
Required During Scheduling Ignored During Execution:
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: elasticsearch
Readiness Probe:
Exec:
Command:
bash
-c
/mnt/elastic-internal/scripts/readiness-probe-script.sh
Resources:
Requests:
Cpu: 4
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Resources:
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Creation Timestamp: <nil>
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Status:
Config:
cluster.routing.allocation.awareness.attributes: all
node.attr.zone: europe-west1-b
node.data: false
node.master: true
Count: 1
Name: master-europe-west1-b
Pod Template:
Metadata:
Creation Timestamp: <nil>
Spec:
Affinity:
Node Affinity:
Required During Scheduling Ignored During Execution:
Node Selector Terms:
Match Expressions:
Key: failure-domain.beta.kubernetes.io/zone
Operator: In
Values:
europe-west1-b
Match Expressions:
Key: workloadType
Operator: In
Values:
elasticsearch
Pod Anti Affinity:
Required During Scheduling Ignored During Execution:
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: elasticsearch
Readiness Probe:
Exec:
Command:
bash
-c
/mnt/elastic-internal/scripts/readiness-probe-script.sh
Resources:
Requests:
Cpu: 4
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Resources:
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Creation Timestamp: <nil>
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Status:
Config:
cluster.routing.allocation.awareness.attributes: all
node.attr.zone: europe-west1-c
node.data: false
node.master: true
Count: 1
Name: master-europe-west1-c
Pod Template:
Metadata:
Creation Timestamp: <nil>
Spec:
Affinity:
Node Affinity:
Required During Scheduling Ignored During Execution:
Node Selector Terms:
Match Expressions:
Key: failure-domain.beta.kubernetes.io/zone
Operator: In
Values:
europe-west1-c
Match Expressions:
Key: workloadType
Operator: In
Values:
elasticsearch
Pod Anti Affinity:
Required During Scheduling Ignored During Execution:
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: elasticsearch
Readiness Probe:
Exec:
Command:
bash
-c
/mnt/elastic-internal/scripts/readiness-probe-script.sh
Resources:
Requests:
Cpu: 4
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Resources:
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Creation Timestamp: <nil>
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Status:
Config:
cluster.routing.allocation.awareness.attributes: all
node.attr.zone: europe-west1-a
node.data: false
node.master: true
Count: 1
Name: data-europe-west1-a
Pod Template:
Metadata:
Creation Timestamp: <nil>
Spec:
Affinity:
Node Affinity:
Required During Scheduling Ignored During Execution:
Node Selector Terms:
Match Expressions:
Key: failure-domain.beta.kubernetes.io/zone
Operator: In
Values:
europe-west1-a
Match Expressions:
Key: workloadType
Operator: In
Values:
elasticsearch
Pod Anti Affinity:
Required During Scheduling Ignored During Execution:
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: elasticsearch
Readiness Probe:
Exec:
Command:
bash
-c
/mnt/elastic-internal/scripts/readiness-probe-script.sh
Resources:
Requests:
Cpu: 4
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Resources:
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Creation Timestamp: <nil>
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Status:
Config:
cluster.routing.allocation.awareness.attributes: all
node.attr.zone: europe-west1-b
node.data: false
node.master: true
Count: 1
Name: data-europe-west1-b
Pod Template:
Metadata:
Creation Timestamp: <nil>
Spec:
Affinity:
Node Affinity:
Required During Scheduling Ignored During Execution:
Node Selector Terms:
Match Expressions:
Key: failure-domain.beta.kubernetes.io/zone
Operator: In
Values:
europe-west1-b
Match Expressions:
Key: workloadType
Operator: In
Values:
elasticsearch
Pod Anti Affinity:
Required During Scheduling Ignored During Execution:
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: elasticsearch
Readiness Probe:
Exec:
Command:
bash
-c
/mnt/elastic-internal/scripts/readiness-probe-script.sh
Resources:
Requests:
Cpu: 4
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Resources:
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Creation Timestamp: <nil>
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Status:
Config:
cluster.routing.allocation.awareness.attributes: all
node.attr.zone: europe-west1-c
node.data: false
node.master: true
Count: 1
Name: data-europe-west1-c
Pod Template:
Metadata:
Creation Timestamp: <nil>
Spec:
Affinity:
Node Affinity:
Required During Scheduling Ignored During Execution:
Node Selector Terms:
Match Expressions:
Key: failure-domain.beta.kubernetes.io/zone
Operator: In
Values:
europe-west1-c
Match Expressions:
Key: workloadType
Operator: In
Values:
elasticsearch
Pod Anti Affinity:
Required During Scheduling Ignored During Execution:
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: elasticsearch
Readiness Probe:
Exec:
Command:
bash
-c
/mnt/elastic-internal/scripts/readiness-probe-script.sh
Resources:
Requests:
Cpu: 4
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Resources:
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Creation Timestamp: <nil>
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Status:
Update Strategy:
Change Budget:
Max Surge: 1
Max Unavailable: 1
Version: 7.4.2
Status:
Available Nodes: 6
Health: yellow
Phase: Ready
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment