Open neoice opened 8 years ago
in fact, I'm not even sure there are repositories for these packages yet!
The only repos I am aware of are fedora ones and centos extras. Do you want a flag to enable the repos? I could add this if you need it.
it's probably an important feature for Puppet management of kubernetes. I decided to use the Kubernetes "hypercube" Docker image since it's one-stop shopping for all the kubernetes functionality.
I doubt my org is going to stop using Puppet, but it looks like for the near-future, it's not ready to manage Kubernetes completely :(
I'll keep this in mind. I will try to fix it as soon as I have some time.
Which repo should I configure for Debian? I can't locate packge kubernetes-node:
root@k8s:~# puppet apply --modulepath /etc/puppet/modules kubernetes-puppet.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for billybob.local in environment production in 1.04 seconds
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install kubernetes-node' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package kubernetes-node
Error: /Stage[main]/Kubernetes::Node/Package[kubernetes-node]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install kubernetes-node' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package kubernetes-node
Thx
I couldn't find any debian/ubuntu repositories that have kubernetes packages.
I've found one: https://github.com/kismatic/kubernetes-distro-packages:
root@k8s:~# apt-cache search kubernetes
kubernetes-master - Kubernetes master binaries and services
kubernetes-node - Kubernetes node binaries and services
However it's not compatible with this puppet module: I can't install master and node package, kubernetes-client is missing.
From what I can see, that is not a debian repo. It will install kubernetes from a git repo.
What is currently the way to go to use this module on Ubuntu 14.04 or 16.04?
@jangaraj is right - the kismatic package repo does not know a kubernetes-client package and kubernetes-master and kubernetes-node create conflicting directories.
+1
Seems Debian is the ONLY distro to have these packages.. :( Not even Ubuntu has them. Is this only tested on Debian versions? It would be nice to know (in the README) where this module is tested to work
many modules will provide repo management, often with a true/false parameter to allow overriding.
currently, this module appears to do no repo management.
is this something in-scope for your project?