feat(ops): kubernetes deployment
This commit is contained in:
13
microblogpub-service.yaml
Normal file
13
microblogpub-service.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: microblogpub
|
||||
namespace: microblogpub
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: microblogpub
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
name: http
|
Reference in New Issue
Block a user