-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud-config-server.yaml
More file actions
42 lines (42 loc) · 892 Bytes
/
cloud-config-server.yaml
File metadata and controls
42 lines (42 loc) · 892 Bytes
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
kind: Service
apiVersion: v1
metadata:
name: cloud-config-server
spec:
selector:
app: cloud-config-server
ports:
- protocol: TCP
port: 8888
targetPort: 8888
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: cloud-config-server
labels:
app: cloud-config-server
spec:
replicas: 1
selector:
matchLabels:
app: cloud-config-server
template:
metadata:
labels:
app: cloud-config-server
spec:
containers:
- name: cloud-config-server
image: hyness/spring-cloud-config-server
ports:
- containerPort: 8888
volumeMounts:
- mountPath: /config
name: config-volume
volumes:
- name: config-volume
hostPath:
path: /Users/christoffer.soop/go/src/github.com/chrsoo/cloud-config-operator/test/server
type: Directory