arashkaffamanesh / bonsai Goto Github PK
View Code? Open in Web Editor NEWRancher k3s and Rancher Server on Multipass VMs on your local machine and RKE cluster deployment through Rancher server running on k3s
License: Apache License 2.0
Rancher k3s and Rancher Server on Multipass VMs on your local machine and RKE cluster deployment through Rancher server running on k3s
License: Apache License 2.0
Only works with int name: eth
I still had to manually copy the hosts file. Why?
I got around it by importing the cert into keychain and mark it as trust always
but now in rancher,
it shows the status of the cluster as provisioning
Waiting for server-url setting to be set
How to get around that?
Hello,
The rancher installation failed :
>helm install --name rancher rancher-stable/rancher --namespace cattle-system --set hostname=node2 --set ingress.tls.source=secret --set privateCA=true
Error: Chart requires kubernetesVersion: < 1.20.0-0 which is incompatible with Kubernetes v1.20.2
Full log :
>./3-deploy-rancher-on-k3s.sh
serviceaccount/tiller created
clusterrolebinding.rbac.authorization.k8s.io/tiller created
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7160 100 7160 0 0 12074 0 --:--:-- --:--:-- --:--:-- 12074
Downloading https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz
Preparing to install helm and tiller into /usr/local/bin
helm installed into /usr/local/bin/helm
tiller installed into /usr/local/bin/tiller
Run 'helm init' to configure helm.
Creating /home/ben/.helm
Creating /home/ben/.helm/repository
Creating /home/ben/.helm/repository/cache
Creating /home/ben/.helm/repository/local
Creating /home/ben/.helm/plugins
Creating /home/ben/.helm/starters
Creating /home/ben/.helm/cache/archive
Creating /home/ben/.helm/repository/repositories.yaml
Adding stable repo with URL: https://charts.helm.sh/stable
Adding local repo with URL: http://127.0.0.1:8879/charts
$HELM_HOME has been configured at /home/ben/.helm.
Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
To prevent this, run `helm init` with the --tiller-tls-verify flag.
For more information on securing your installation see: https://v2.helm.sh/docs/securing_installation/
Waiting for deployment "tiller-deploy" rollout to finish: 0 out of 1 new replicas have been updated...
Waiting for deployment "tiller-deploy" rollout to finish: 0 of 1 updated replicas are available...
deployment "tiller-deploy" successfully rolled out
"rancher-stable" has been added to your repositories
namespace/cattle-system created
secret/tls-ca created
secret/tls-rancher-ingress created
NAME TYPE DATA AGE
default-token-9cwv2 kubernetes.io/service-account-token 3 0s
tls-ca Opaque 1 0s
tls-rancher-ingress kubernetes.io/tls 2 0s
Error: Chart requires kubernetesVersion: < 1.20.0-0 which is incompatible with Kubernetes v1.20.2
############################################################################
This should take about 2 minutes, please wait ...
in the meanwhile open a new shell, change to the install dir and run:
export KUBECONFIG=k3s.yaml
kubectl get all -A
to see the status of the deployment
Your browser should open in about 2 minutes and point to:
https://node2
############################################################################
Error from server (NotFound): deployments.apps "rancher" not found
############################################################################
Hope you have fun with k3s on multipass
If you have any questions and would like to join us on Slack, here you go:
https://kubernauts-slack-join.herokuapp.com/
./3-deploy-rancher-on-k3s.sh: ligne 42: open : commande introuvable
>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.