kcli create kube generic doesn't work ootb
See original GitHub issue$ kcli create kube generic -P masters=3 -P workers=2 mycluster
Using 192.168.122.253 as api_ip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 42.0M 100 42.0M 0 0 15.1M 0 0:00:02 0:00:02 --:--:-- 15.1M
Deploying Images...
Using url https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2...
Grabbing image centos7...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 819M 100 819M 0 0 12.3M 0 0:01:06 0:01:06 --:--:-- 12.7M
Image centos7 Added
Adding a profile named local_centos7 with default values
Deploying Vms...
mycluster-master-0 not deployed because you don't have image centos7
mycluster-master-1 not deployed because you don't have image centos7
mycluster-master-2 not deployed because you don't have image centos7
$ kcli create kube generic -P masters=3 -P workers=2 mycluster
Using 192.168.122.253 as api_ip
Please remove existing directory clusters/mycluster first...
$ ls -ltrhaZ /var/lib/libvirt/images/CentOS-7*
-rw-rw-r--. 1 edu edu unconfined_u:object_r:virt_image_t:s0 819M Aug 25 11:50 /var/lib/libvirt/images/CentOS-7-x86_64-GenericCloud.qcow2
$ kcli list profiles | grep centos7
| local_centos7 | 2cpus 512Mb ram | default | 10 | CentOS-7-x86_64-GenericCloud.qcow2 | default | True | True | False | False |
$ kcli version
version: 99.0 commit: f7b81f4 Available Updates: False
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
About — Kcli 99.0 documentation
kcli configuration is done in ~/.kcli directory, that you need to manually create. It will contain: config.yml generic configuration where you declare ...
Read more >KCLI - the only tool you will need to create Kubernetes and ...
Create a Kubernetes cluster. Use the following command to create a single node K8s cluster on Ubuntu 20.04 kcli create kube generic -P...
Read more >kcli - Read the Docs
Repository. https://github.com/karmab/kcli.git. Project Slug. kcli. Last Built. 6 hours, 11 minutes ago passed. Maintainers. Badge. reStructuredText.
Read more >Selenoid: Selenium Hub Successor Running Browsers within ...
Selenoid was initially created to be deployed on hardware servers or virtual machines and is not suitable for Kubernetes. Detailed motivation is described...
Read more >C++ talks - GitHub Pages
Computers make it easier to do a lot of things, but most of the things they ... AGL as a generic secured industrial...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
while i fix this side effect of https://github.com/karmab/kcli/commit/163bc2d3bab82f9e8a9ce03ba33352c1c6637338, note you can workaround it by specifying a valid image, for instance with a parameter file, or adding
-P image=CentOS-7-x86_64-GenericCloud.qcow2
to your command line invocationso it worked(yeah!) but as stated in the doc, you need to use sshuttle or routing if can access those vms directly Alternatively you can target a bridge network
El El vie, 4 sept 2020 a las 16:16, Eduardo Mínguez < notifications@github.com> escribió: