This commit is contained in:
sm
2018-02-01 13:31:52 -08:00
commit bc0fb17786
6 changed files with 89 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hwc
labels:
app: hwc
spec:
replicas: 1
selector:
matchLabels:
app: hwc
template:
metadata:
labels:
app: hwc
spec:
containers:
- image: smcquay/hwc:v0.0.1
name: hwc
ports:
- containerPort: 8081
command: ["/bin/hwc"]
args: ["hw.default.svc.cluster.local"]
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: hwc
spec:
type: LoadBalancer
selector:
app: hwc
ports:
- protocol: TCP
port: 8081