-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argo-CD example improvements #2200
Argo-CD example improvements #2200
Conversation
Would also address #2075 |
Hello @roosmaa I used kustomize at the past, and now I try to work with jsonnet in case of kube-prometheus. I followed the tutorials and build the manifests like described in customizing kube-prometheus. But when I try to build the argocd basic example it fails with folowing error in my case.
Is this expected in case of jsonnet templates for argocd? Thank you |
@treenerd this was my first jsonnet experience as well. But, I think you have 2 options:
I think I saw some mention that 2nd option was the preferred way to do things in some docs around here somewhere, but I'm just a drive-by contributor, so I cannot really say what the suggested way is. |
Thank you for your answer.
Never the less I had other issues, so I decided to build manifests and kustomize overlays with jsonnet. Thank you for your fast response and help. |
@roosmaa just a heads up this is failing ci if you want to address it :) |
@philipgough on my todo list :) haven't managed to open the workstation in a few evenings. |
Description
The current ArgoCD example fell somewhat short for me as I was deploying kube-prometheus on my test cluster. This PR adds the missing pieces that I had to figure out to get it deployed.
application.instanceLabelKey
has to be defined in ArgoCD config map for prometheus target discovery to work properly (by default ArgoCD happily overrides the desiredapp.kubernetes.io/instance
value)Type of change
What type of changes does your code introduce to the kube-prometheus? Put an
x
in the box that apply.CHANGE
(fix or feature that would cause existing functionality to not work as expected)FEATURE
(non-breaking change which adds functionality)BUGFIX
(non-breaking change which fixes an issue)ENHANCEMENT
(non-breaking change which improves existing functionality)NONE
(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Changelog entry
Please put a one-line changelog entry below. Later this will be copied to the changelog file.