aboutsummaryrefslogtreecommitdiff
path: root/yamls/deployment.yaml
blob: 594c8999775115e2ae599f3c2cc3e60fbfa1a396 (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
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: i2-deploy
  name: i2-deploy
spec:
  replicas: 1
  selector:
    matchLabels:
      app: i2-deploy
  strategy: {}
  template:
    metadata:
      labels:
        app: i2-deploy
    spec:
      volumes:
      - name: i2-pod-storage
        persistentVolumeClaim:
          claimName: i2-storage
      containers:
      - image: akiyamn/i2
        name: i2
        ports:
        - containerPort: 80
        resources: {}
        volumeMounts:
        - mountPath: "/var/www/html"
          name: i2-pod-storage
status: {}