Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Cannot set clusterDomain in kubo-deployment #359

Open
siennathesane opened this issue Oct 6, 2019 · 0 comments
Open

Cannot set clusterDomain in kubo-deployment #359

siennathesane opened this issue Oct 6, 2019 · 0 comments

Comments

@siennathesane
Copy link

What happened:

I attempted to change the default cluster domain name.

What you expected to happen:

The domain name change in the manifest would be applied.

How to reproduce it (as minimally and precisely as possible):

With this ops file:

# custom-domain.yml
---
- type: replace
  path: /instance_groups/name=worker/jobs/name=kubelet/properties/kubelet-configuration/clusterDomain
  value: broomfield.local
- type: replace
  path: /variables/name=tls-kubernetes/options/alternative_names/3:next
  value: kubernetes.default.svc.broomfield.local

Using this deployment command:

bosh -d cfcr deploy -o custom-domain.yml <(curl https://raw.githubusercontent.com/cloudfoundry-incubator/kubo-deployment/v0.36.0/manifests/cfcr.yml)

Anything else we need to know?:

The bug is in the coredns spec. The value is hardcoded instead of reading the config from the manifest, which means it can't be changed.

Environment:

  • Deployment Info (bosh -d <deployment> deployment):
Name  Release(s)        Stemcell(s)                                      Config(s)          Team(s)
cfcr  bosh-dns/1.12.0   bosh-vsphere-esxi-ubuntu-xenial-go_agent/456.27  2 runtime/default  -
      bpm/1.0.4                                                          1 cloud/default
      cfcr-etcd/1.11.1
      docker/35.3.3
      kubo/0.36.0
  • Environment Info (bosh -e <environment> environment):
Name               bosh
UUID               c28b9d1b-fbfe-479c-a418-8c757533bc84                                                                           Version            270.5.0 (00000000)                                                                                             Director Stemcell  ubuntu-xenial/456.27                                                                                           CPI                vsphere_cpi                                                                                                    Features           compiled_package_cache: disabled                                                                                                  config_server: enabled
                   local_dns: enabled
                   power_dns: disabled
                   snapshots: disabled
User               admin
  • Kubernetes version (kubectl version): 1.15
  • Cloud provider (e.g. aws, gcp, vsphere): vsphere
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants