Skip to content

Instantly share code, notes, and snippets.

@Dudesons
Created November 28, 2019 16:16
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/e042c7e42b94bb8f14b3e2e5537831a0 to your computer and use it in GitHub Desktop.
Save Dudesons/e042c7e42b94bb8f14b3e2e5537831a0 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
API Version: elasticsearch.k8s.elastic.co/v1beta1
Kind: Elasticsearch
Metadata:
Creation Timestamp: 2019-11-28T12:59:20Z
Finalizers:
finalizer.elasticsearch.k8s.elastic.co/observer
finalizer.elasticsearch.k8s.elastic.co/secure-settings-secret
finalizer.elasticsearch.k8s.elastic.co/http-certificates-secret
Generation: 4
Resource Version: 16692423
Self Link: /apis/elasticsearch.k8s.elastic.co/v1beta1/namespaces/default/elasticsearches/datawarehouse
UID: e4c1b277-11de-11ea-99a7-4201c0a80006
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: zone
node.attr.zone: europe-west1-a
node.data: false
node.master: true
Count: 1
Name: master-europe-west1-a
Pod Template:
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:
Pod Affinity Term:
Label Selector:
Match Labels:
elasticsearch.k8s.elastic.co/cluster-name: datawarehouse
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: master-europe-west1-a
Resources:
Limits:
Cpu: 4000m
Memory: 8Gi
Requests:
Cpu: 4000m
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Read Only Root Filesystem: true
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Config:
cluster.routing.allocation.awareness.attributes: zone
node.attr.zone: europe-west1-b
node.data: false
node.master: true
Count: 1
Name: master-europe-west1-b
Pod Template:
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:
Pod Affinity Term:
Label Selector:
Match Labels:
elasticsearch.k8s.elastic.co/cluster-name: datawarehouse
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: master-europe-west1-b
Resources:
Limits:
Cpu: 4000m
Memory: 8Gi
Requests:
Cpu: 4000m
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Read Only Root Filesystem: true
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Config:
cluster.routing.allocation.awareness.attributes: zone
node.attr.zone: europe-west1-c
node.data: false
node.master: true
Count: 1
Name: master-europe-west1-c
Pod Template:
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:
Pod Affinity Term:
Label Selector:
Match Labels:
elasticsearch.k8s.elastic.co/cluster-name: datawarehouse
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: master-europe-west1-c
Resources:
Limits:
Cpu: 4000m
Memory: 8Gi
Requests:
Cpu: 4000m
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Read Only Root Filesystem: true
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Config:
cluster.routing.allocation.awareness.attributes: zone
node.attr.zone: europe-west1-a
node.data: false
node.master: true
Count: 1
Name: data-europe-west1-a
Pod Template:
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:
Pod Affinity Term:
Label Selector:
Match Labels:
elasticsearch.k8s.elastic.co/cluster-name: datawarehouse
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: data-europe-west1-a
Resources:
Limits:
Cpu: 4000m
Memory: 8Gi
Requests:
Cpu: 4000m
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Read Only Root Filesystem: true
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Config:
cluster.routing.allocation.awareness.attributes: zone
node.attr.zone: europe-west1-b
node.data: false
node.master: true
Count: 1
Name: data-europe-west1-b
Pod Template:
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:
Pod Affinity Term:
Label Selector:
Match Labels:
elasticsearch.k8s.elastic.co/cluster-name: datawarehouse
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: data-europe-west1-b
Resources:
Limits:
Cpu: 4000m
Memory: 8Gi
Requests:
Cpu: 4000m
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Read Only Root Filesystem: true
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Config:
cluster.routing.allocation.awareness.attributes: zone
node.attr.zone: europe-west1-c
node.data: false
node.master: true
Count: 1
Name: data-europe-west1-c
Pod Template:
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:
Pod Affinity Term:
Label Selector:
Match Labels:
elasticsearch.k8s.elastic.co/cluster-name: datawarehouse
Topology Key: kubernetes.io/hostname
Containers:
Env:
Name: ES_JAVA_OPTS
Value: -Xms7782m -Xmx7782m
Name: data-europe-west1-c
Resources:
Limits:
Cpu: 4000m
Memory: 8Gi
Requests:
Cpu: 4000m
Memory: 8Gi
Security Context:
Allow Privilege Escalation: false
Read Only Root Filesystem: true
Run As User: 1000
Init Containers:
Command:
sh
-c
sysctl -w vm.max_map_count=262144
Name: sysctl
Security Context:
Privileged: true
Volume Claim Templates:
Metadata:
Name: elasticsearch-data
Spec:
Access Modes:
ReadWriteOnce
Resources:
Requests:
Storage: 10Gi
Storage Class Name: standard
Update Strategy:
Change Budget:
Max Surge: -1
Max Unavailable: 0
Version: 7.4.2
Status:
Health: unknown
Phase: ApplyingChanges
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment