k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/guestbook/agnhost-primary-deployment.yaml.in (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: agnhost-primary
     5  spec:
     6    replicas: 1
     7    selector:
     8      matchLabels:
     9        app: agnhost
    10        role: primary
    11        tier: backend
    12    template:
    13      metadata:
    14        labels:
    15          app: agnhost
    16          role: primary
    17          tier: backend
    18      spec:
    19        containers:
    20        - name: primary
    21          image: {{.AgnhostImage}}
    22          args: [ "guestbook", "--http-port", "6379" ]
    23          resources:
    24            requests:
    25              cpu: 100m
    26              memory: 100Mi
    27          ports:
    28          - containerPort: 6379