Comments (7)
Could you check your generated YAML file? It should contain the following keys:
kubernetes::kube_api_service_ip: <ip>
kubernetes::kube_dns_ip: <ip>
I ran into a similar issue when using an older version of the kubetool image.
from puppetlabs-kubernetes.
Hmmm, my YAML file does contain that information, but i'm wondering if it's not finding it? Here's what I have:
├── data
│ └── kubernetes.yaml
├── environment.conf
├── manifests
│ ├── dev_nodes.pp
│ └── nodes.pp
├── modules
│ ├── (MANYMODULES...)
├── Puppetfile
└── site
├── profiles
│ └── manifests
│ ├── base.pp
│ ├── kubernetes
│ └── master.pp
└── roles
└── manifests
├── kube_master.pp
The file site\profiles\manifests\kubernetes\master.pp
contains the code you see in my first message. Given that, is my kubernetes.yaml
file in the right location? I also tried site\profiles\files\kubernetes\kubernetes.yaml
as well, but that didn't work either.
from puppetlabs-kubernetes.
I'm not that good at Hiera, but my guess is there should be a hiera.yaml in the root of your module. This tells Hiera where it can look for the configuration data. Not sure what the default folders are if you don't have a hiera.yaml. Maybe the docs can help:
https://puppet.com/docs/puppet/5.0/hiera_config_yaml_5.html
from puppetlabs-kubernetes.
Ok, i was able to get it to work. Two issues: 1) I needed to create the hiera.yaml
file to point to the the kubernetes.yaml
file, and 2) I was in a "development mode", using puppet apply...
, so i needed to add the --hiera_config=hiera.yaml
flag so it could find the configuration file.
Thanks for the help!
from puppetlabs-kubernetes.
Hi,
I am facing the similar issue for puppet 4.10:
parameter 'etcd_ca_key' expects a String value, got Undef
parameter 'etcd_ca_crt' expects a String value, got Undef
parameter 'etcdclient_key' expects a String value, got Undef
parameter 'etcdclient_crt' expects a String value, got Undef
parameter 'etcdserver_crt' expects a String value, got Undef
parameter 'etcdserver_key' expects a String value, got Undef
parameter 'etcdpeer_crt' expects a String value, got Undef
parameter 'etcdpeer_key' expects a String value, got Undef
parameter 'etcd_peers' expects an
any help would be appreciated!
Thanks
Afroz Hussain
from puppetlabs-kubernetes.
Have a look here: You missed this step: https://github.com/puppetlabs/puppetlabs-kubernetes#generating-the-module-configuration
from puppetlabs-kubernetes.
Thank you, Simon. I will try the mentioned step
from puppetlabs-kubernetes.
Related Issues (20)
- Config version not set correctly
- Variable kubernetes::containerd_config_source is not honored HOT 2
- Support for RedHat derivatives version 8 and 9 HOT 2
- Invalid default docker version on Debian HOT 2
- Spec tests seem to be broken and are blocking PRs HOT 2
- Calico install doesn't work HOT 3
- Module not work HOT 31
- CNI commands aren't executed HOT 3
- Containerd won't bind GRPC endpoint HOT 2
- docker commands fail with errors HOT 2
- puppet/kubetool:7.0.0 - bad discovery_token_hash HOT 3
- Version bump for puppet/kubetool ? HOT 1
- deprecate this module in favour of puppet/k8s HOT 8
- Version bump for kubetool? HOT 2
- Minimum puppet version for puppetlabs-kubernetes 7.1.1 HOT 1
- The link to the contributing guidelines is dead
- "ensure CRDs are installed first" - no matches for kind "InitConfiguration" / "ClusterConfiguration" / "KubeProxyConfiguration"
- scheduler_extra_arguments not working on v1beta3 due to missing scheduler_merged_extra_arguments used in the template HOT 2
- Not able to generate certificates - undefined method `match' for nil:NilClass (NoMethodError) HOT 1
- Release new version HOT 1
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 puppetlabs-kubernetes.