aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/kubernetes/templates/keystone.yaml
blob: 84a51f7ad122aedd472ab218cb499c174c3ba475 (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/v1beta1
kind: Deployment
metadata:
  namespace: moon
  name: keystone
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: keystone
    spec:
      hostname: keystone
      containers:
      - name: keystone
        image: asteroide/keystone:mitaka
        ports:
        - containerPort: 35357
          containerPort: 5000
---

apiVersion: v1
kind: Service
metadata:
  name: keystone
  namespace: moon
spec:
  ports:
    - port: 5000
      targetPort: 5000
      nodePort: 30006
  selector:
    app: keystone
  type: NodePort