aboutsummaryrefslogtreecommitdiff
path: root/grumpy/static-files/base/static-files-deploy.yaml
blob: f89e7d74203618fec33ff9fce392cdedda3f8cf0 (plain)
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
apiVersion: apps/v1
kind: Deployment
metadata:
  name: static-files
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/instance: static-files
      app.kubernetes.io/name: static-files
  template:
    metadata:
      labels:
        app.kubernetes.io/instance: static-files
        app.kubernetes.io/name: static-files
    spec:
      containers:
      - image: static-files
        livenessProbe:
          httpGet:
            path: /
            port: http
        name: static-files
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        readinessProbe:
          httpGet:
            path: /
            port: http
      imagePullSecrets:
      - name: gitlabsec
      serviceAccountName: default