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

sync-catalog: pod won't start if consul --> k8s sync is disabled #7

Closed
jackpizarro opened this issue Oct 3, 2018 · 0 comments
Closed
Labels
type/bug Something isn't working

Comments

@jackpizarro
Copy link

Installed with the Helm chart.

      containers:
      - command:
        - /bin/sh
        - -ec
        - |
          consul-k8s sync-catalog \
            -http-addr=${HOST_IP}:8500 \
            -to-k8s=true \
            -consul-domain=consul \
            -k8s-write-namespace=${NAMESPACE}

That works fine:

2018-10-03T01:27:51.961Z [INFO ] to-k8s/sink: starting runner for syncing
2018-10-03T01:27:51.961Z [INFO ] to-consul/source: starting runner for endpoints
2018-10-03T01:27:51.966Z [INFO ] to-k8s/source: received services from Consul: count=1
2018-10-03T01:27:52.061Z [INFO ] to-consul/source.controller/endpoints: initial cache sync complete
2018-10-03T01:27:52.061Z [INFO ] to-k8s/controller: initial cache sync complete

But if I change the deployment to '-to-k8s=false' I get this:

2018-10-03T01:24:53.516Z [INFO ] to-consul/source: starting runner for endpoints
2018-10-03T01:24:53.522Z [INFO ] to-consul/sink: ConsulSyncer quitting
ERROR: logging before flag.Parse: E1003 01:24:53.522913       8 controller.go:115] Error syncing cache
ERROR: logging before flag.Parse: E1003 01:24:53.522960       8 controller.go:115] Error syncing cache

And it stays in CrashLoopBackOff.

@jackpizarro jackpizarro changed the title consul-sync-catalog pod won't start if consul --> k8s sync is disabled sync-catalog pod won't start if consul --> k8s sync is disabled Oct 3, 2018
@jackpizarro jackpizarro changed the title sync-catalog pod won't start if consul --> k8s sync is disabled sync-catalog: pod won't start if consul --> k8s sync is disabled Oct 3, 2018
@adilyse adilyse added the type/bug Something isn't working label Oct 16, 2018
t-eckert pushed a commit that referenced this issue Sep 8, 2022
# This is the 1st commit message:

Add service for terminating-gateways

# This is the commit message #2:

Add gateway-kind:terminating to deployment

# This is the commit message #3:

Add registration path for terminating gateways

# This is the commit message #4:

Add BATS tests

# This is the commit message #5:

Remove registration from terminating gateways deployment

# This is the commit message #6:

Set ports AFAIK in service

# This is the commit message #7:

Begin setting values for endpoints controller

# This is the commit message #8:

Copy values from deployment to endpoints controller (as comment)

# This is the commit message #9:

Use connect-init instead of acl-init

# This is the commit message #10:

Remove guards from term gw service (they will get hit by the deployment)

# This is the commit message #11:

Range over gateways to produce a service for each deployment

# This is the commit message #12:

Add test for multiple gateways

# This is the commit message #13:

Remove the format script

# This is the commit message #14:

Note which parts of the config have been set
wilkermichael added a commit that referenced this issue Oct 13, 2022
wilkermichael added a commit that referenced this issue Oct 14, 2022
wilkermichael added a commit that referenced this issue Oct 17, 2022
wilkermichael added a commit that referenced this issue Oct 17, 2022
wilkermichael added a commit that referenced this issue Oct 18, 2022
wilkermichael added a commit that referenced this issue Oct 18, 2022
wilkermichael added a commit that referenced this issue Oct 18, 2022
wilkermichael added a commit that referenced this issue Oct 18, 2022
wilkermichael added a commit that referenced this issue Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants