Sha256: 488e025acd34f334bffee3a1a92d27a1c833f324c3c43dd6c80f88ea12f67299

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 Bytes

Contents

---
:apiVersion: v1
:kind: Pod
:metadata:
  :name: "%{pod_name}"
  :namespace: gke-puppetagent-ci
  :labels:
    :app: "%{pod_name}"
    :project: puppet-agent-ci
:spec:
  :hostname: "%{pod_name}"
  :containers:
    - :image: <%= ENV.fetch("CONTAINER_IMAGE") { "gcr.io/puppetagent-ci/centos-7-master:v4" } %>
      :name: "centos-7-master"
      :securityContext:
        :capabilities:
          :add:
            - NET_ADMIN
  :dnsPolicy: "None"
  :dnsConfig:
    nameservers:
      - 10.240.0.10
      - 10.240.1.10
    :searches:
      - gke-puppetagent-ci.puppet.net
  :hostAliases:
    - :ip: "169.254.169.254"
      :hostnames:
        - "metadata.google.internal"
  :affinity:
    :podAntiAffinity:
      :preferredDuringSchedulingIgnoredDuringExecution:
      - :weight: 100
        :podAffinityTerm:
          :labelSelector:
            :matchLabels:
              :project: puppet-agent-ci
          :topologyKey: kubernetes.io/hostname

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beaker-gke-0.0.2 config/pod.yaml