init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: hw
|
||||
labels:
|
||||
app: hw
|
||||
spec:
|
||||
replicas: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hw
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: hw
|
||||
spec:
|
||||
containers:
|
||||
- image: smcquay/hw:v0.0.5
|
||||
name: hw
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hw
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: hw
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
Reference in New Issue
Block a user