Skip to content

Commit

Permalink
Fix internal error on boot process
Browse files Browse the repository at this point in the history
* Upgrade ingress-nginx version
* Deleting ingress-nginx jobs before new installation
* Add a waiting period until ingress is ready to process requests

resolve #3
  • Loading branch information
mehdihasan committed Jul 16, 2024
1 parent d9094ce commit 19d65f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ pre_req:

k8s_setup:
kind create cluster --config ./kind/kind-config.yaml || true
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.3.0/deploy/static/provider/cloud/deploy.yaml
kubectl delete job ingress-nginx-admission-create -n ingress-nginx || true
kubectl delete job ingress-nginx-admission-patch -n ingress-nginx || true
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml --validate=false
kubectl wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
--timeout=90s
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.5.0/components.yaml
kubectl patch deployment metrics-server -n kube-system --patch-file ./kind/metric-server-patch.yaml

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Sun Jul 14 00:51:16 CEST 2024
buildNumber=45
#Tue Jul 16 12:53:27 CEST 2024
buildNumber=48

0 comments on commit 19d65f1

Please sign in to comment.