commit 6b702172e490d875947cc28fb2a3135f1f1b8b9b Author: argocd Date: Wed Feb 4 04:23:06 2026 +0800 Initial commit: Add test application v1.0 Co-Authored-By: Claude Sonnet 4.5 diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml new file mode 100644 index 0000000..81e9efe --- /dev/null +++ b/manifests/deployment.yaml @@ -0,0 +1,79 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: test-app + namespace: default + labels: + app: test-app +spec: + replicas: 2 + selector: + matchLabels: + app: test-app + template: + metadata: + labels: + app: test-app + version: v1 + spec: + containers: + - name: nginx + image: nginx:1.25-alpine + ports: + - containerPort: 80 + volumeMounts: + - name: html + mountPath: /usr/share/nginx/html + volumes: + - name: html + configMap: + name: test-app-html +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: test-app-html + namespace: default +data: + index.html: | + + + + Test App v1 + + + +
+

🚀 Test Application

+

Version: v1.0

+

Deployed via GitOps with ArgoCD

+

Hostname: neta

+
+ + diff --git a/manifests/ingress.yaml b/manifests/ingress.yaml new file mode 100644 index 0000000..7c35f27 --- /dev/null +++ b/manifests/ingress.yaml @@ -0,0 +1,19 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: test-app + namespace: default + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: web +spec: + rules: + - host: test.jpc.net3w.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: test-app + port: + number: 80 diff --git a/manifests/service.yaml b/manifests/service.yaml new file mode 100644 index 0000000..2ab4690 --- /dev/null +++ b/manifests/service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: test-app + namespace: default +spec: + type: NodePort + selector: + app: test-app + ports: + - port: 80 + targetPort: 80 + nodePort: 30081