summaryrefslogtreecommitdiffstats
path: root/seagl2023/k8s.jp.net/seagl01.yaml
blob: 60bae653d89bf0dd9c0622485d984bf9060e1491 (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
35
36
37
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: seagl01-k8s-jp-net
spec:
  replicas: 1
  selector:
    matchLabels:
      app: seagl01-k8s-jp-net
  template:
    metadata:
      labels:
        app: seagl01-k8s-jp-net
    spec:
      containers:
        - name: seagl01-k8s-jp-net
          image: microk8s.sideload/seagl01.k8s.jp.net:v000
          ports:
            - name: http
              containerPort: 80
      nodeSelector:
        kubernetes.io/os: linux
---
apiVersion: v1
kind: Service
metadata:
  name: seagl01-k8s-jp-net
spec:
  ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: 80
  selector:
    app: seagl01-k8s-jp-net
  type: ClusterIP