first deploy
This commit is contained in:
26
netflix_clicker.yaml
Normal file
26
netflix_clicker.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: netflix-clicker
|
||||
labels:
|
||||
app: netflix-clicker
|
||||
spec:
|
||||
containers:
|
||||
- name: netflix-clicker
|
||||
image: netflix-clicker:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 1025
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: netflix-clicker-service
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: netflix-clicker
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 1025
|
||||
targetPort: 1025
|
||||
Reference in New Issue
Block a user