Created
February 20, 2020 14:33
-
-
Save AdheipSingh/6460a51264166e080a01872b4e76ac26 to your computer and use it in GitHub Desktop.
coordinator.yaml
This file contains 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
adheip@DevOps:~/juspay/druid-operator/examples$ k get sts druid-my-druid-coordinators -n druid -o yaml | |
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
annotations: | |
druidOpResourceHash: N3ctP81z9eXQb/sJd73iRaLT0Ro= | |
creationTimestamp: 2020-02-20T14:26:09Z | |
generation: 1 | |
labels: | |
app: druid | |
druid_cr: my-druid | |
nodeSpecUniqueStr: druid-my-druid-coordinators | |
name: druid-my-druid-coordinators | |
namespace: druid | |
ownerReferences: | |
- apiVersion: druid.apache.org/v1alpha1 | |
controller: true | |
kind: Druid | |
name: my-druid | |
uid: ee258de7-53ec-11ea-b5fb-02d2d8c9d678 | |
resourceVersion: "427033855" | |
selfLink: /apis/apps/v1/namespaces/druid/statefulsets/druid-my-druid-coordinators | |
uid: f0267890-53ec-11ea-b5fb-02d2d8c9d678 | |
spec: | |
podManagementPolicy: Parallel | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: druid | |
druid_cr: my-druid | |
nodeSpecUniqueStr: druid-my-druid-coordinators | |
serviceName: druid-my-druid-coordinators | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: druid | |
druid_cr: my-druid | |
nodeSpecUniqueStr: druid-my-druid-coordinators | |
spec: | |
affinity: | |
nodeAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
nodeSelectorTerms: | |
- matchExpressions: | |
- key: node-type | |
operator: In | |
values: | |
- druid-master | |
containers: | |
- command: | |
- bin/run-druid.sh | |
- coordinator | |
env: | |
- name: configMapSHA | |
value: qkPFF5VSmKOncmM5lT6PpEDyWjk=-VT+HcVXExk+ehSy0mMDzD8Y3dgs= | |
image: apache/incubator-druid:0.16.0-incubating | |
imagePullPolicy: IfNotPresent | |
name: druid-my-druid-coordinators | |
ports: | |
- containerPort: 8083 | |
name: random | |
protocol: TCP | |
- containerPort: 3333 | |
name: druid-port | |
protocol: TCP | |
resources: | |
limits: | |
cpu: "1" | |
memory: 6Gi | |
requests: | |
cpu: "1" | |
memory: 6Gi | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /druid/conf/druid/_common | |
name: common-config-volume | |
- mountPath: /druid/conf/druid/coordinator | |
name: nodetype-config-volume | |
- mountPath: /druid/data | |
name: data-volume | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
operator: Exists | |
volumes: | |
- configMap: | |
defaultMode: 420 | |
name: my-druid-druid-common-config | |
name: common-config-volume | |
- configMap: | |
defaultMode: 420 | |
name: druid-my-druid-coordinators-config | |
name: nodetype-config-volume | |
updateStrategy: | |
rollingUpdate: | |
partition: 0 | |
type: RollingUpdate | |
volumeClaimTemplates: | |
- metadata: | |
creationTimestamp: null | |
name: data-volume | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 20Gi | |
storageClassName: default | |
status: | |
phase: Pending | |
status: | |
collisionCount: 0 | |
currentReplicas: 1 | |
currentRevision: druid-my-druid-coordinators-6bd8c9d67 | |
observedGeneration: 1 | |
replicas: 1 | |
updateRevision: druid-my-druid-coordinators-6bd8c9d67 | |
updatedReplicas: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment