Skip to content

init container not running completely. #9

Description

@faisalbasha19

Details

What steps did you take and what happened:

I cloned the repo https://github.com/k8s-at-home/charts/tree/master/charts/stable/pod-gateway which is basically
the helm chart to deploy pod-gateway. This chart refers to the image created via this git source code. The pods seem
to be in a running state, so I don''t have a problem with the chart. But when I create a test pod under the namespace vpn the
gateway admission controller receives a request that invokes the webhook server present within this pod and injects an init container
which executes the client_init.sh script but this container gets shutdown or terminated halfway as it doesn't get the K8S_GW_IP.

Please see screenshots below:

vpninit01

vpnpodgateways

The logs of the testpod within the vpn namespace:

testpod-vpnns

What did you expect to happen:
Expected the testpod to run and route traffic via the pod gateway.

Anything else you would like to add:

Additional Information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions