Comments (5)
I have the same issue with v0.14.0 although I include the kubeadmConfigPatchesJSON6902 thing
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
networking:
apiServerAddress: "0.0.0.0"
# add to the apiServer certSANs the name of the docker (dind) service in order to be able to reach the cluster through it
kubeadmConfigPatchesJSON6902:
- group: kubeadm.k8s.io
version: v1beta2
kind: ClusterConfiguration
patch: |
- op: add
path: /apiServer/certSANs/-
value: docker
nodes:
- role: control-plane
- role: worker
- role: worker
from examples.
you're hitting that with v0.14.0 because v1beta2 is no longer the current config version for kubeadm for that kubernetes version in the default image in v0.14.0 of kind, you can just drop the version
field in this case since the field you're patching is stable across versions.
v0.11.1 has been a while, I don't recall what we changed to v0.12.0, but docker
is not an expected hostname for the Kubernetes API cert under normal kind usage.
I don't have / use gitlab myself, but we accept PRs from users to update these.
from examples.
you're hitting that with v0.14.0 because v1beta2 is no longer the current config version for kubeadm for that kubernetes version in the default image in v0.14.0 of kind, you can just drop the
version
field in this case since the field you're patching is stable across versions.v0.11.1 has been a while, I don't recall what we changed to v0.12.0, but
docker
is not an expected hostname for the Kubernetes API cert under normal kind usage.I don't have / use gitlab myself, but we accept PRs from users to update these.
if docker
is not an expected hostname, what is?
What is the config that I can try in my gitlab?
from examples.
My solution is:
kubectl config set-cluster kind --insecure-skip-tls-verify=true
from examples.
if docker is not an expected hostname, what is?
localhost, or the node name.
from examples.
Related Issues (11)
- add continuous gitlab CI badge
- Add support for TeamCity HOT 2
- kind on CloudBuild port forwarding is hard to follow HOT 2
- [Question] Networking and access to kind via Kubectl HOT 1
- List of CI/CD systems integrations integrated with kind HOT 1
- KinD on Gitlab with proxy HOT 2
- Running on GitLab CI using Kubernetes runner HOT 2
- KubeletNotReady runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized
- project runner with dind service unsuccessful
- Add badges with the CI status HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.