[k8s] Add Kubernetes service & RC files
This commit is contained in:
parent
1342e8fb1d
commit
df93cead28
4 changed files with 94 additions and 0 deletions
17
k8s/tazblog-svc.yaml
Normal file
17
k8s/tazblog-svc.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: tazblog
|
||||
labels:
|
||||
app: tazblog
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: tazblog
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 6081
|
||||
name: tazblog-http
|
||||
- port: 443
|
||||
targetPort: 8443
|
||||
name: tazblog-https
|
||||
Loading…
Add table
Add a link
Reference in a new issue