...

Text file src/k8s.io/kubernetes/test/e2e/testing-manifests/guestbook/agnhost-primary-deployment.yaml.in

Documentation: k8s.io/kubernetes/test/e2e/testing-manifests/guestbook

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: agnhost-primary
     5spec:
     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

View as plain text