Add CI/CD workflows and Kubernetes configurations for deployment
Some checks failed
CI - Build and Push / Build and Push Docker Image (push) Failing after 11s
Some checks failed
CI - Build and Push / Build and Push Docker Image (push) Failing after 11s
This commit is contained in:
19
script/k8s/service.yaml
Normal file
19
script/k8s/service.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
# Kubernetes Service Configuration
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ${CONTAINER_IMAGE_NAME}
|
||||
namespace: ${KUBERNETES_NAMESPACE}
|
||||
labels:
|
||||
app: ${CONTAINER_IMAGE_NAME}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
|
||||
selector:
|
||||
app: ${CONTAINER_IMAGE_NAME}
|
||||
|
||||
ports:
|
||||
- name: http
|
||||
port: 8888
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
Reference in New Issue
Block a user