~sbaildon/dev_cluster

ref: 724e59bad1ad24cbefbf12890ce8048609dfbd08 dev_cluster/plated/app.yaml -rw-r--r-- 1.0 KiB
724e59ba — builds.sr.ht plated/889ec23 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: apps/v1
kind: Deployment
metadata:
  name: plated
  labels:
    app: plated
spec:
  selector:
    matchLabels:
      app: plated
  replicas: 1
  strategy:
    type: RollingUpdate
  template:
    metadata:
      namespace: plated
      labels:
        app: plated
    spec:
      affinity:
        nodeAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - weight: 1
            preference:
              matchExpressions:
              - key: node.kubernetes.io/instance-type
                operator: In
                values:
                - cpx11
      containers:
        - name: plated
          image: registry.b5n.dev/plated
          ports:
            - name: dashboard
              containerPort: 4000
              protocol: TCP
            - name: client
              containerPort: 4001
              protocol: TCP
            - name: auth
              containerPort: 4002
              protocol: TCP
          envFrom:
          - secretRef:
              name: plated-config