Setting up harbor and pushing images from Harbor into aks
- Done (not gonna write, aalas)
Pulling images from Harbor into aks
This is the my-release-harbor loadbalancer service.

Curl on external harbor ip from my mac :
- curl -I 20.204.237.36:80 (to get the “Location” tag in header to check where has been redirected to)
- Basically we(harbor) have allowed http method request in nginx cause we using self sign certificate for https. So in case a req requires a legit cerfi or doesn’t work https unless it gets a local certi from CA, we can hit the http endpoint and access the site, cause it’s known http doesn’t require certs.
- And since curl doesn’t “redirect”, so as to speak, it shows the basic thing it fetches.
- How does curl work ?
Ok, let’s hit where it was getting redirected to :
- curl https://20.204.237.36/
- Now this shows error because curl on https require a local CA (authentic) signed certificate.
- You can fix it by creating a ssl certificate signed by CA for ur domain.
- Presently we use a self-signed certificate , which is basically that we are the CA locally lol , it works in the local environment but not while on the web.
- curl -k https://20.204.237.36/ to bypass without verifying for certs.
Curl on internal harbor ip using a test pod in k8s.
- Create a test curl pod for requests
- curl -I 10.0.172.197