Created
March 6, 2019 22:48
-
-
Save richm/c9d11136a9d56ca027acac4f58039d5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc get deploy | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
cluster-logging-operator 1/1 1 1 41m | |
elasticsearch-clientdatamaster-0-1 1/1 0 1 40m | |
kibana | |
$ oc get deploy/elasticsearch-clientdatamaster-0-1 -o yaml | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: 2019-03-06T22:06:52Z | |
generation: 6 | |
labels: | |
cluster-name: elasticsearch | |
component: elasticsearch | |
es-node-client: "true" | |
es-node-data: "true" | |
es-node-master: "true" | |
tuned.openshift.io/elasticsearch: "true" | |
name: elasticsearch-clientdatamaster-0-1 | |
namespace: openshift-logging | |
ownerReferences: | |
- apiVersion: logging.openshift.io/v1alpha1 | |
controller: true | |
kind: Elasticsearch | |
name: elasticsearch | |
uid: 243e09ef-405c-11e9-9978-0af19ca3f146 | |
resourceVersion: "43679" | |
selfLink: /apis/extensions/v1beta1/namespaces/openshift-logging/deployments/elasticsearch-clientdatamaster-0-1 | |
uid: 25adff04-405c-11e9-87e8-129137f43034 | |
spec: | |
paused: true | |
progressDeadlineSeconds: 1800 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
cluster-name: elasticsearch | |
es-node-client: "true" | |
es-node-data: "true" | |
es-node-master: "true" | |
strategy: | |
type: Recreate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
cluster-name: elasticsearch | |
component: elasticsearch | |
es-node-client: "true" | |
es-node-data: "true" | |
es-node-master: "true" | |
tuned.openshift.io/elasticsearch: "true" | |
spec: | |
affinity: | |
podAntiAffinity: | |
preferredDuringSchedulingIgnoredDuringExecution: | |
- podAffinityTerm: | |
labelSelector: | |
matchExpressions: | |
- key: es-node-client | |
operator: In | |
values: | |
- "true" | |
- key: es-node-data | |
operator: In | |
values: | |
- "true" | |
- key: es-node-master | |
operator: In | |
values: | |
- "true" | |
topologyKey: kubernetes.io/hostname | |
weight: 100 | |
containers: | |
- env: | |
- name: DC_NAME | |
value: elasticsearch-clientdatamaster-0-1 | |
- name: NAMESPACE | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: metadata.namespace | |
- name: KUBERNETES_TRUST_CERTIFICATES | |
value: "true" | |
- name: SERVICE_DNS | |
value: elasticsearch-cluster | |
- name: CLUSTER_NAME | |
value: elasticsearch | |
- name: INSTANCE_RAM | |
value: 4Gi | |
- name: HEAP_DUMP_LOCATION | |
value: /elasticsearch/persistent/heapdump.hprof | |
- name: RECOVER_AFTER_TIME | |
value: 5m | |
- name: READINESS_PROBE_TIMEOUT | |
value: "30" | |
- name: POD_LABEL | |
value: cluster=elasticsearch | |
- name: IS_MASTER | |
value: "true" | |
- name: HAS_DATA | |
value: "true" | |
image: registry.svc.ci.openshift.org/ci-op-xf7njmwl/pipeline:logging-elasticsearch5 | |
imagePullPolicy: IfNotPresent | |
name: elasticsearch | |
ports: | |
- containerPort: 9300 | |
name: cluster | |
protocol: TCP | |
- containerPort: 9200 | |
name: restapi | |
protocol: TCP | |
readinessProbe: | |
exec: | |
command: | |
- /usr/share/elasticsearch/probe/readiness.sh | |
failureThreshold: 3 | |
initialDelaySeconds: 10 | |
periodSeconds: 5 | |
successThreshold: 1 | |
timeoutSeconds: 30 | |
resources: | |
limits: | |
cpu: 500m | |
memory: 4Gi | |
requests: | |
cpu: 500m | |
memory: 4Gi | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /elasticsearch/persistent | |
name: elasticsearch-storage | |
- mountPath: /usr/share/java/elasticsearch/config | |
name: elasticsearch-config | |
- mountPath: /etc/openshift/elasticsearch/secret | |
name: certificates | |
- args: | |
- --https-address=:60000 | |
- --provider=openshift | |
- --upstream=https://127.0.0.1:9200 | |
- --tls-cert=/etc/proxy/secrets/tls.crt | |
- --tls-key=/etc/proxy/secrets/tls.key | |
- --upstream-ca=/etc/proxy/elasticsearch/admin-ca | |
- --openshift-service-account=elasticsearch | |
- '-openshift-sar={"resource": "namespaces", "verb": "get"}' | |
- '-openshift-delegate-urls={"/": {"resource": "namespaces", "verb": "get"}}' | |
- --pass-user-bearer-token | |
- --cookie-secret=cU1Z64nain+38vl2GJ9uag== | |
image: quay.io/openshift/origin-oauth-proxy:latest | |
imagePullPolicy: IfNotPresent | |
name: proxy | |
ports: | |
- containerPort: 60000 | |
name: metrics | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /etc/proxy/secrets | |
name: elasticsearch-metrics | |
- mountPath: /etc/proxy/elasticsearch | |
name: certificates | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: elasticsearch | |
serviceAccountName: elasticsearch | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- configMap: | |
defaultMode: 420 | |
name: elasticsearch | |
name: elasticsearch-config | |
- name: elasticsearch-metrics | |
secret: | |
defaultMode: 420 | |
secretName: elasticsearch-metrics | |
- emptyDir: {} | |
name: elasticsearch-storage | |
- name: certificates | |
secret: | |
defaultMode: 420 | |
secretName: elasticsearch | |
status: | |
availableReplicas: 1 | |
conditions: | |
- lastTransitionTime: 2019-03-06T22:38:53Z | |
lastUpdateTime: 2019-03-06T22:38:53Z | |
message: Deployment is paused | |
reason: DeploymentPaused | |
status: Unknown | |
type: Progressing | |
- lastTransitionTime: 2019-03-06T22:41:19Z | |
lastUpdateTime: 2019-03-06T22:41:19Z | |
message: Deployment has minimum availability. | |
reason: MinimumReplicasAvailable | |
status: "True" | |
type: Available | |
observedGeneration: 6 | |
readyReplicas: 1 | |
replicas: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment