...

Text file src/cuelang.org/go/doc/tutorial/kubernetes/original/services/proxy/goget/kube.yaml

Documentation: cuelang.org/go/doc/tutorial/kubernetes/original/services/proxy/goget

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: goget
     5spec:
     6  replicas: 1
     7  # podTemplate defines the 'cookie cutter' used for creating
     8  # new pods when necessary
     9  template:
    10    metadata:
    11      labels:
    12        # Important: these labels need to match the selector above
    13        # The api server enforces this constraint.
    14        app: goget
    15        component: proxy
    16    spec:
    17      volumes:
    18      - name: secret-volume
    19        secret:
    20          secretName: goget-secrets
    21      containers:
    22      - image: gcr.io/myproj/goget:v0.5.1
    23        ports:
    24        - containerPort: 7443
    25        name: goget
    26        volumeMounts:
    27          - mountPath: /etc/ssl
    28            name: secret-volume
    29

View as plain text