Giter VIP home page Giter VIP logo

Comments (4)

mok0 avatar mok0 commented on May 25, 2024

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.

serverbaboon avatar serverbaboon commented on May 25, 2024

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.

geerlingguy avatar geerlingguy commented on May 25, 2024

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.

serverbaboon avatar serverbaboon commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.