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

This commit is contained in:
2025-10-07 10:45:44 +08:00
parent 0a60a84ab8
commit 38ca0cf0e9
9 changed files with 559 additions and 0 deletions

19
script/k8s/service.yaml Normal file
View 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