Skip to content
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

my kubernetes applications are not able to reach out to Webhookserver #1071

Open
mayankkhullar opened this issue Oct 22, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@mayankkhullar
Copy link

mayankkhullar commented Oct 22, 2023

Keywords

webhookserver

I deployed a sample python app using below code

@kopf.on.startup()
def configure(settings: kopf.OperatorSettings, **_):
if os.environ.get('ENVIRONMENT') is None:
# Only as an example:
settings.admission.server = kopf.WebhookK3dServer(port=54321)
settings.admission.managed = 'auto.kopf.dev'
else:
# Assuming that the configuration is done manually:
settings.admission.server = kopf.WebhookServer(addr='0.0.0.0', port=8080)
settings.admission.managed = 'auto.kopf.dev'

I created a deployment and service and named service a custom_webhook_server_kopf:8080
and my pods are not able to reach out to the webhook server ?

HOw do i make sure my pods are able to connec tto webhook server , I have gone through the documentation but no help

No response

@mayankkhullar mayankkhullar added the question Further information is requested label Oct 22, 2023
@mehrdad-khojastefar
Copy link
Contributor

Hi @mayankkhullar . I've been stuck on getting my admission controller to work too. this issue can help you as it helped me. If there are still some problems I would be happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants