Comments (4)
I had some error messages too, I think it has to do with Python2/Python3. Ansible still (?) has Python2 as the default. I placed the following line in group_vars/all.yml
:
ansible_python_interpreter: /usr/bin/python3
PS: Probably it's better to put the following in the [defaults]
section of ansible.cfg
:
interpreter_python = /usr/bin/python3
from turing-pi-cluster.
I am using ubuntu 19.x and there is no python2 on my nodes.
Did get an issue with the requests package on my node not liking the urlib3 and chardet versions but again that was my issue not the code.
I think the NONETYPE error is due to the variable for kubeconfig being empty as its in the 'wrong place', just need to find how to override the location.
from turing-pi-cluster.
This is a good point; similarly, if you get tripped up by Helm not finding the configuration, it's best to be explicit and set KUBECONFIG
to the path to K3s' main configuration file.
from turing-pi-cluster.
Apologies was looking in the wrong place and missed this override in the playbook main.yaml
environment:
# The location of the kubeconfig file on the master.
K8S_AUTH_KUBECONFIG: <where_mine_is>
PATH: "~/go/bin:{{ ansible_env.PATH }}"
from turing-pi-cluster.
Related Issues (20)
- Install a media library / media center system on the Turing Pi Cluster HOT 2
- Test K3s-ansible (and this project) with the new 64-bit Raspberry Pi OS HOT 4
- Drupal image not working HOT 6
- Wordpress example not working, mariadb fails HOT 6
- Test kube-prometheus project with different kube-rbac-proxy image HOT 4
- 2 master k3s kubernates HOT 2
- Wordpress templates - mariadb.yml HOT 2
- exec format error HOT 1
- Minecraft chart has moved to a new repo HOT 1
- Error installing pihole on k3s cluster HOT 2
- Question - Pihole client Ip address HOT 2
- Question: 64bit OS on master/worker nodes HOT 3
- Question: K8S HA setup HOT 3
- KubeControllerManagerDown & kubeSchedulerDown HOT 3
- Can't find drupal.yml HOT 2
- Ubuntu 20.04 support? HOT 1
- Can't access monitoring after deploying Pi Hole HOT 2
- Setting up cluster_monitoring fails with python kubernetes-client version 12 HOT 2
- i2c help or guidence - powered off all nodes with i2c HOT 3
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 turing-pi-cluster.