...

Text file src/edge-infra.dev/config/pallets/plank/base/manifests.yaml

Documentation: edge-infra.dev/config/pallets/plank/base

     1apiVersion: v1
     2kind: Namespace
     3metadata:
     4  name: plank
     5  labels:
     6    workload.edge.ncr.com: platform
     7---
     8apiVersion: v1
     9kind: ServiceAccount
    10metadata:
    11  name: plank
    12---
    13apiVersion: apps/v1
    14kind: Deployment
    15metadata:
    16  name: plank
    17  labels:
    18    platform.edge.ncr.com/component: plank
    19spec:
    20  replicas: 1
    21  selector:
    22    matchLabels:
    23      platform.edge.ncr.com/component: plank
    24  template:
    25    metadata:
    26      labels:
    27        platform.edge.ncr.com/component: plank
    28    spec:
    29      serviceAccountName: plank
    30      containers:
    31      - name: auth-proxy
    32        image: us.gcr.io/alloydb-connectors/alloydb-auth-proxy
    33        args: ["--port", "5432", "--address", "0.0.0.0", "$(ALLOYDB_INSTANCE)"]
    34        ports:
    35        - name: psql
    36          containerPort: 5432
    37        envFrom:
    38        - configMapRef:
    39            name: plank-config
    40        imagePullPolicy: IfNotPresent
    41      - name: plank
    42        image: bzl://cmd/edge/monitoring/plank:container_push
    43        envFrom:
    44        - configMapRef:
    45            name: plank-config
    46        - secretRef:
    47            name: plank-creds
    48        env:
    49        - name: PROJECTID
    50          value: ${gcp_project_id}
    51        resources:
    52          limits:
    53            cpu: "100m"
    54            memory: "256Mi"
    55        imagePullPolicy: IfNotPresent
    56      imagePullSecrets:
    57      - name: edge-docker-pull-secret
    58---
    59apiVersion: v1
    60kind: Service
    61metadata:
    62  name: plank
    63spec:
    64  type: ClusterIP
    65  selector:
    66    platform.edge.ncr.com/component: plank
    67  ports:
    68  - name: psql
    69    protocol: TCP
    70    port: 5432
    71    targetPort: 5432

View as plain text