Yaml definition for pod

PHOTO EMBED

Sun Nov 29 2020 18:25:24 GMT+0000 (UTC)

Saved by @ankity09 #aws,ckad

apiVersion: v1
kind: Pod
metadata:
  name: hazelcast
  labels:
    app: hazelcast
    env: prod
spec:
  containers:
  - env:
    - name: DNS_DOMAIN
      value: cluster
    image: hazelcast/hazelcast
    name: hazelcast
    ports:
    - containerPort: 5701
content_copyCOPY

creates pod