-
Notifications
You must be signed in to change notification settings - Fork 2
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
add cilium netpol creation #1502
Conversation
b7788f8
to
5bc6db1
Compare
5bc6db1
to
7661b8d
Compare
c4b743d
to
ade7067
Compare
ade7067
to
1644d09
Compare
Issue with the
Copilot explanation : "The error message you're seeing is indicating that you're trying to use a value of type In the Kubernetes API, In your code, you're trying to set the storage requests for a volume, so you should be using However, as of Kubernetes API version v1, there is no If you're seeing this error, it's possible that you're using a different version of the Kubernetes API where If you're using Kubernetes API version v1, your code is correct and you should not be seeing this error. In that case, the error might be caused by something else in your code. Could you provide more information about your code and the context in which this error is occurring?" This occured because of the version change for |
When deploying it :
|
PMO doesn't seem to like dynamic client :
|
There is some progress :
|
Adding the capabilities for cilium netpols in the clusterrole didn't change the error |
Co-authored-by: Fernando Ripoll <[email protected]>
37a687a
to
986c0a1
Compare
When trying to create the ciliumnetpol for WCs, PMO is panicking with a segmentation error :
|
Tested it on
|
2d349e4
to
83708a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the go client then it's alright
Gonna do a last round of testing before merging |
So it still works :) |
Can you test it on gerbil as well ? |
Seems to be working as well :
|
Can you check that alertmanager can communicate with all prometheus ? Also, I think that pormetheus cnp in monitoring is not needed but alright :) |
From what I see, it seems alright as the alerts redirect to the right prometheus instance. Don't know if there are more checks to do 🤷
Yeah but I don't see a quick way to avoid this in the code :/ |
The cnp is coming from the helmchart 🙈 Now for alertmanager you can open hubble using port-forwarding and check if there are any dropped connection in the monitoring ns and gerbil-prometheus :) That should be okay |
If you do not see any dropped below then let's go |
Everything is "forwarded" :) |
Towards https://github.com/giantswarm/giantswarm/issues/29698
This PR enables PMO to create a
ciliumNetworkPolicy
resource for each MC prometheus.Checklist
I have:
CHANGELOG.md