From 9ed5b24ac61b53918a324f0c36f14c2358b164b4 Mon Sep 17 00:00:00 2001 From: kundan vyas <121027147+Kundan547@users.noreply.github.com> Date: Thu, 10 Jul 2025 17:05:31 +0530 Subject: [PATCH 01/11] Update grade-submission-api-deployment.yaml --- gitops/basic/grade-submission-api-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitops/basic/grade-submission-api-deployment.yaml b/gitops/basic/grade-submission-api-deployment.yaml index b574939..a77773b 100644 --- a/gitops/basic/grade-submission-api-deployment.yaml +++ b/gitops/basic/grade-submission-api-deployment.yaml @@ -6,7 +6,7 @@ metadata: labels: app: grade-submission spec: - replicas: 3 + replicas: 5 selector: matchLabels: app: grade-submission From 878cd669446b9d3b5c691f6d864693d3ea910078 Mon Sep 17 00:00:00 2001 From: kundan vyas <121027147+Kundan547@users.noreply.github.com> Date: Thu, 10 Jul 2025 17:10:50 +0530 Subject: [PATCH 02/11] Update replicas-patch.yaml --- kustomize/overlays/dev/replicas-patch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomize/overlays/dev/replicas-patch.yaml b/kustomize/overlays/dev/replicas-patch.yaml index b056fff..41ff3d4 100644 --- a/kustomize/overlays/dev/replicas-patch.yaml +++ b/kustomize/overlays/dev/replicas-patch.yaml @@ -4,4 +4,4 @@ metadata: name: grade-submission-api namespace: grade-demo spec: - replicas: 1 \ No newline at end of file + replicas: 5 From 6351c646f5c8ac3a285e85475fd46dfd8da8c9ef Mon Sep 17 00:00:00 2001 From: kundan vyas <121027147+Kundan547@users.noreply.github.com> Date: Thu, 10 Jul 2025 17:20:00 +0530 Subject: [PATCH 03/11] Update values.yaml --- helm/grade-submission/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/grade-submission/values.yaml b/helm/grade-submission/values.yaml index 2234554..7abddb8 100644 --- a/helm/grade-submission/values.yaml +++ b/helm/grade-submission/values.yaml @@ -1,4 +1,4 @@ -replicaCount: 2 +replicaCount: 4 image: repository: rslim087/kubernetes-course-grade-submission-api @@ -16,4 +16,4 @@ resources: memory: 256Mi requests: cpu: 250m - memory: 128Mi \ No newline at end of file + memory: 128Mi From bdc58b4c4a61d073ebefa7d3ab34511f3aaea71e Mon Sep 17 00:00:00 2001 From: kundan547 Date: Thu, 10 Jul 2025 17:22:40 +0530 Subject: [PATCH 04/11] Completed --- argocd/applications/basic-application.yaml | 2 +- argocd/applications/helm-application.yaml | 2 +- .../applications/kustomize-application.yaml | 2 +- .../applications/kustomize-application2.yaml | 20 +++++++++++++++++++ 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 argocd/applications/kustomize-application2.yaml diff --git a/argocd/applications/basic-application.yaml b/argocd/applications/basic-application.yaml index b78c9b5..692a875 100644 --- a/argocd/applications/basic-application.yaml +++ b/argocd/applications/basic-application.yaml @@ -6,7 +6,7 @@ metadata: spec: project: default source: - repoURL: https://github.com/rslim087a/argocd-kubernetes-gitops-tutorial.git + repoURL: https://github.com/Kundan547/argocd-kubernetes-gitops-tutorial.git targetRevision: HEAD path: gitops/basic destination: diff --git a/argocd/applications/helm-application.yaml b/argocd/applications/helm-application.yaml index 030e4d6..c59ccd8 100644 --- a/argocd/applications/helm-application.yaml +++ b/argocd/applications/helm-application.yaml @@ -6,7 +6,7 @@ metadata: spec: project: default source: - repoURL: https://github.com/rslim087a/argocd-kubernetes-gitops-tutorial.git + repoURL: https://github.com/Kundan547/argocd-kubernetes-gitops-tutorial.git targetRevision: HEAD path: helm/grade-submission helm: diff --git a/argocd/applications/kustomize-application.yaml b/argocd/applications/kustomize-application.yaml index 8350258..7220773 100644 --- a/argocd/applications/kustomize-application.yaml +++ b/argocd/applications/kustomize-application.yaml @@ -6,7 +6,7 @@ metadata: spec: project: default source: - repoURL: https://github.com/rslim087a/argocd-kubernetes-gitops-tutorial.git + repoURL: https://github.com/Kundan547/argocd-kubernetes-gitops-tutorial.git targetRevision: HEAD path: kustomize/overlays/dev destination: diff --git a/argocd/applications/kustomize-application2.yaml b/argocd/applications/kustomize-application2.yaml new file mode 100644 index 0000000..c2b3f2b --- /dev/null +++ b/argocd/applications/kustomize-application2.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: grade-submission-prod + namespace: argocd +spec: + project: default + source: + repoURL: https://github.com/Kundan547/argocd-kubernetes-gitops-tutorial.git + targetRevision: HEAD + path: kustomize/overlays/prod + destination: + server: https://kubernetes.default.svc + namespace: grade-demo + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file From b81e1a62a4b1236dcdc3d000630f844bb1afda38 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 11 Jul 2025 23:43:09 +0530 Subject: [PATCH 05/11] Changed the namespace for testing --- argocd-ns.json | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 argocd-ns.json diff --git a/argocd-ns.json b/argocd-ns.json new file mode 100644 index 0000000..ba9c198 --- /dev/null +++ b/argocd-ns.json @@ -0,0 +1,59 @@ +{ + "apiVersion": "v1", + "kind": "Namespace", + "metadata": { + "creationTimestamp": "2025-07-11T06:15:35Z", + "deletionTimestamp": "2025-07-11T18:03:28Z", + "labels": { + "kubernetes.io/metadata.name": "argocd" + }, + "name": "argocd", + "resourceVersion": "40712", + "uid": "c04279da-023b-420d-bd2f-9f66415338fc" + }, + "spec": { + "finalizers": [ + "kubernetes" + ] + }, + "status": { + "conditions": [ + { + "lastTransitionTime": "2025-07-11T18:03:33Z", + "message": "Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: stale GroupVersion discovery: metrics.k8s.io/v1beta1", + "reason": "DiscoveryFailed", + "status": "True", + "type": "NamespaceDeletionDiscoveryFailure" + }, + { + "lastTransitionTime": "2025-07-11T18:03:34Z", + "message": "All legacy kube types successfully parsed", + "reason": "ParsedGroupVersions", + "status": "False", + "type": "NamespaceDeletionGroupVersionParsingFailure" + }, + { + "lastTransitionTime": "2025-07-11T18:03:35Z", + "message": "All content successfully deleted, may be waiting on finalization", + "reason": "ContentDeleted", + "status": "False", + "type": "NamespaceDeletionContentFailure" + }, + { + "lastTransitionTime": "2025-07-11T18:03:35Z", + "message": "All content successfully removed", + "reason": "ContentRemoved", + "status": "False", + "type": "NamespaceContentRemaining" + }, + { + "lastTransitionTime": "2025-07-11T18:03:34Z", + "message": "All content-preserving finalizers finished", + "reason": "ContentHasNoFinalizers", + "status": "False", + "type": "NamespaceFinalizersRemaining" + } + ], + "phase": "Terminating" + } +} From de09cd22caa46362b9eda6a42194b1d9d1296a61 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 12 Jul 2025 00:10:18 +0530 Subject: [PATCH 06/11] Completed task --- argo-ns.json | 18 ++++++++++++++++ argocd-final.json | 55 +++++++++++++++++++++++++++++++++++++++++++++++ argocd-ns.json | 18 ++++++++-------- 3 files changed, 82 insertions(+), 9 deletions(-) create mode 100644 argo-ns.json create mode 100644 argocd-final.json diff --git a/argo-ns.json b/argo-ns.json new file mode 100644 index 0000000..65041a5 --- /dev/null +++ b/argo-ns.json @@ -0,0 +1,18 @@ +{ + "apiVersion": "v1", + "kind": "Namespace", + "metadata": { + "creationTimestamp": "2025-07-11T11:24:41Z", + "deletionTimestamp": "2025-07-11T18:18:10Z", + "labels": { + "kubernetes.io/metadata.name": "argo" + }, + "name": "argo", + "resourceVersion": "40989", + "uid": "1a57f95b-f487-44bf-a975-ddb3850289d0" + }, + "spec": {}, + "status": { + "phase": "Terminating" + } +} diff --git a/argocd-final.json b/argocd-final.json new file mode 100644 index 0000000..c76bf7f --- /dev/null +++ b/argocd-final.json @@ -0,0 +1,55 @@ +{ + "apiVersion": "v1", + "kind": "Namespace", + "metadata": { + "creationTimestamp": "2025-07-11T18:34:49Z", + "deletionTimestamp": "2025-07-11T18:36:27Z", + "labels": { + "kubernetes.io/metadata.name": "argocd" + }, + "name": "argocd", + "resourceVersion": "41388", + "uid": "d0eb2be6-a3b9-4825-9690-17e5d06b40c0" + }, + "spec": {}, + "status": { + "conditions": [ + { + "lastTransitionTime": "2025-07-11T18:36:32Z", + "message": "Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: stale GroupVersion discovery: metrics.k8s.io/v1beta1", + "reason": "DiscoveryFailed", + "status": "True", + "type": "NamespaceDeletionDiscoveryFailure" + }, + { + "lastTransitionTime": "2025-07-11T18:36:33Z", + "message": "All legacy kube types successfully parsed", + "reason": "ParsedGroupVersions", + "status": "False", + "type": "NamespaceDeletionGroupVersionParsingFailure" + }, + { + "lastTransitionTime": "2025-07-11T18:36:34Z", + "message": "All content successfully deleted, may be waiting on finalization", + "reason": "ContentDeleted", + "status": "False", + "type": "NamespaceDeletionContentFailure" + }, + { + "lastTransitionTime": "2025-07-11T18:36:34Z", + "message": "All content successfully removed", + "reason": "ContentRemoved", + "status": "False", + "type": "NamespaceContentRemaining" + }, + { + "lastTransitionTime": "2025-07-11T18:36:33Z", + "message": "All content-preserving finalizers finished", + "reason": "ContentHasNoFinalizers", + "status": "False", + "type": "NamespaceFinalizersRemaining" + } + ], + "phase": "Terminating" + } +} diff --git a/argocd-ns.json b/argocd-ns.json index ba9c198..307327f 100644 --- a/argocd-ns.json +++ b/argocd-ns.json @@ -2,14 +2,14 @@ "apiVersion": "v1", "kind": "Namespace", "metadata": { - "creationTimestamp": "2025-07-11T06:15:35Z", - "deletionTimestamp": "2025-07-11T18:03:28Z", + "creationTimestamp": "2025-07-11T18:34:49Z", + "deletionTimestamp": "2025-07-11T18:36:27Z", "labels": { "kubernetes.io/metadata.name": "argocd" }, "name": "argocd", - "resourceVersion": "40712", - "uid": "c04279da-023b-420d-bd2f-9f66415338fc" + "resourceVersion": "41388", + "uid": "d0eb2be6-a3b9-4825-9690-17e5d06b40c0" }, "spec": { "finalizers": [ @@ -19,35 +19,35 @@ "status": { "conditions": [ { - "lastTransitionTime": "2025-07-11T18:03:33Z", + "lastTransitionTime": "2025-07-11T18:36:32Z", "message": "Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: stale GroupVersion discovery: metrics.k8s.io/v1beta1", "reason": "DiscoveryFailed", "status": "True", "type": "NamespaceDeletionDiscoveryFailure" }, { - "lastTransitionTime": "2025-07-11T18:03:34Z", + "lastTransitionTime": "2025-07-11T18:36:33Z", "message": "All legacy kube types successfully parsed", "reason": "ParsedGroupVersions", "status": "False", "type": "NamespaceDeletionGroupVersionParsingFailure" }, { - "lastTransitionTime": "2025-07-11T18:03:35Z", + "lastTransitionTime": "2025-07-11T18:36:34Z", "message": "All content successfully deleted, may be waiting on finalization", "reason": "ContentDeleted", "status": "False", "type": "NamespaceDeletionContentFailure" }, { - "lastTransitionTime": "2025-07-11T18:03:35Z", + "lastTransitionTime": "2025-07-11T18:36:34Z", "message": "All content successfully removed", "reason": "ContentRemoved", "status": "False", "type": "NamespaceContentRemaining" }, { - "lastTransitionTime": "2025-07-11T18:03:34Z", + "lastTransitionTime": "2025-07-11T18:36:33Z", "message": "All content-preserving finalizers finished", "reason": "ContentHasNoFinalizers", "status": "False", From 6aedc3eeabc5328e211ceb6a74536e5817c90b14 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 12 Jul 2025 00:14:20 +0530 Subject: [PATCH 07/11] Fixed issue --- argo-ns.json | 18 --------------- argocd-final.json | 55 ------------------------------------------- argocd-ns.json | 59 ----------------------------------------------- 3 files changed, 132 deletions(-) delete mode 100644 argo-ns.json delete mode 100644 argocd-final.json delete mode 100644 argocd-ns.json diff --git a/argo-ns.json b/argo-ns.json deleted file mode 100644 index 65041a5..0000000 --- a/argo-ns.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "apiVersion": "v1", - "kind": "Namespace", - "metadata": { - "creationTimestamp": "2025-07-11T11:24:41Z", - "deletionTimestamp": "2025-07-11T18:18:10Z", - "labels": { - "kubernetes.io/metadata.name": "argo" - }, - "name": "argo", - "resourceVersion": "40989", - "uid": "1a57f95b-f487-44bf-a975-ddb3850289d0" - }, - "spec": {}, - "status": { - "phase": "Terminating" - } -} diff --git a/argocd-final.json b/argocd-final.json deleted file mode 100644 index c76bf7f..0000000 --- a/argocd-final.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "apiVersion": "v1", - "kind": "Namespace", - "metadata": { - "creationTimestamp": "2025-07-11T18:34:49Z", - "deletionTimestamp": "2025-07-11T18:36:27Z", - "labels": { - "kubernetes.io/metadata.name": "argocd" - }, - "name": "argocd", - "resourceVersion": "41388", - "uid": "d0eb2be6-a3b9-4825-9690-17e5d06b40c0" - }, - "spec": {}, - "status": { - "conditions": [ - { - "lastTransitionTime": "2025-07-11T18:36:32Z", - "message": "Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: stale GroupVersion discovery: metrics.k8s.io/v1beta1", - "reason": "DiscoveryFailed", - "status": "True", - "type": "NamespaceDeletionDiscoveryFailure" - }, - { - "lastTransitionTime": "2025-07-11T18:36:33Z", - "message": "All legacy kube types successfully parsed", - "reason": "ParsedGroupVersions", - "status": "False", - "type": "NamespaceDeletionGroupVersionParsingFailure" - }, - { - "lastTransitionTime": "2025-07-11T18:36:34Z", - "message": "All content successfully deleted, may be waiting on finalization", - "reason": "ContentDeleted", - "status": "False", - "type": "NamespaceDeletionContentFailure" - }, - { - "lastTransitionTime": "2025-07-11T18:36:34Z", - "message": "All content successfully removed", - "reason": "ContentRemoved", - "status": "False", - "type": "NamespaceContentRemaining" - }, - { - "lastTransitionTime": "2025-07-11T18:36:33Z", - "message": "All content-preserving finalizers finished", - "reason": "ContentHasNoFinalizers", - "status": "False", - "type": "NamespaceFinalizersRemaining" - } - ], - "phase": "Terminating" - } -} diff --git a/argocd-ns.json b/argocd-ns.json deleted file mode 100644 index 307327f..0000000 --- a/argocd-ns.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "apiVersion": "v1", - "kind": "Namespace", - "metadata": { - "creationTimestamp": "2025-07-11T18:34:49Z", - "deletionTimestamp": "2025-07-11T18:36:27Z", - "labels": { - "kubernetes.io/metadata.name": "argocd" - }, - "name": "argocd", - "resourceVersion": "41388", - "uid": "d0eb2be6-a3b9-4825-9690-17e5d06b40c0" - }, - "spec": { - "finalizers": [ - "kubernetes" - ] - }, - "status": { - "conditions": [ - { - "lastTransitionTime": "2025-07-11T18:36:32Z", - "message": "Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: stale GroupVersion discovery: metrics.k8s.io/v1beta1", - "reason": "DiscoveryFailed", - "status": "True", - "type": "NamespaceDeletionDiscoveryFailure" - }, - { - "lastTransitionTime": "2025-07-11T18:36:33Z", - "message": "All legacy kube types successfully parsed", - "reason": "ParsedGroupVersions", - "status": "False", - "type": "NamespaceDeletionGroupVersionParsingFailure" - }, - { - "lastTransitionTime": "2025-07-11T18:36:34Z", - "message": "All content successfully deleted, may be waiting on finalization", - "reason": "ContentDeleted", - "status": "False", - "type": "NamespaceDeletionContentFailure" - }, - { - "lastTransitionTime": "2025-07-11T18:36:34Z", - "message": "All content successfully removed", - "reason": "ContentRemoved", - "status": "False", - "type": "NamespaceContentRemaining" - }, - { - "lastTransitionTime": "2025-07-11T18:36:33Z", - "message": "All content-preserving finalizers finished", - "reason": "ContentHasNoFinalizers", - "status": "False", - "type": "NamespaceFinalizersRemaining" - } - ], - "phase": "Terminating" - } -} From fcd4bbcaee642cf81fb6a861921204966b6bca41 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 13 Jul 2025 17:48:07 +0530 Subject: [PATCH 08/11] Completed --- helm/grade-submission/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/grade-submission/values.yaml b/helm/grade-submission/values.yaml index 7abddb8..21a4d38 100644 --- a/helm/grade-submission/values.yaml +++ b/helm/grade-submission/values.yaml @@ -1,4 +1,4 @@ -replicaCount: 4 +replicaCount: 2 image: repository: rslim087/kubernetes-course-grade-submission-api From 6902c507c0f1e80962afe1a72a38b761cb13144b Mon Sep 17 00:00:00 2001 From: kundan vyas <121027147+Kundan547@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:48:36 +0530 Subject: [PATCH 09/11] Update grade-submission-api-deployment.yaml --- gitops/basic/grade-submission-api-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitops/basic/grade-submission-api-deployment.yaml b/gitops/basic/grade-submission-api-deployment.yaml index a77773b..c38ecf2 100644 --- a/gitops/basic/grade-submission-api-deployment.yaml +++ b/gitops/basic/grade-submission-api-deployment.yaml @@ -17,6 +17,6 @@ spec: spec: containers: - name: grade-submission-api - image: rslim087/kubernetes-course-grade-submission-api:stateless + image: rslim087/kubernetes-course-grade-submission-api:stateless-v4 ports: - containerPort: 3000 From 051326009772e8d3f427286dbb6c25ed1c8704d1 Mon Sep 17 00:00:00 2001 From: kundan vyas <121027147+Kundan547@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:49:06 +0530 Subject: [PATCH 10/11] Update values.yaml --- helm/grade-submission/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/grade-submission/values.yaml b/helm/grade-submission/values.yaml index 21a4d38..5f7994c 100644 --- a/helm/grade-submission/values.yaml +++ b/helm/grade-submission/values.yaml @@ -2,7 +2,7 @@ replicaCount: 2 image: repository: rslim087/kubernetes-course-grade-submission-api - tag: stateless + tag: stateless-v4 pullPolicy: IfNotPresent service: From fa6feb811c3fd28890918f091bbe94ec8fce7c66 Mon Sep 17 00:00:00 2001 From: kundan vyas <121027147+Kundan547@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:49:33 +0530 Subject: [PATCH 11/11] Update grade-submission-api-deployment.yaml --- kustomize/base/grade-submission-api-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomize/base/grade-submission-api-deployment.yaml b/kustomize/base/grade-submission-api-deployment.yaml index b574939..42dae2a 100644 --- a/kustomize/base/grade-submission-api-deployment.yaml +++ b/kustomize/base/grade-submission-api-deployment.yaml @@ -17,6 +17,6 @@ spec: spec: containers: - name: grade-submission-api - image: rslim087/kubernetes-course-grade-submission-api:stateless + image: rslim087/kubernetes-course-grade-submission-api:stateless-v4 ports: - containerPort: 3000