first deploy

This commit is contained in:
2023-08-27 02:36:05 +08:00
commit 245486b95c
7 changed files with 160 additions and 0 deletions

26
netflix_clicker.yaml Normal file
View 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