Giter Site home page Giter Site logo

k8s-mc script help about k3s-minecraft HOT 3 OPEN

phreekbird avatar phreekbird commented on September 26, 2024 1
k8s-mc script help

from k3s-minecraft.

Comments (3)

gilesknap avatar gilesknap commented on September 26, 2024

It looks like something is up with your k8s installation since k8s-mclist just calls a basic kubectl command.

To find out what pods you have running:

kubectl get pods -n minecraft

Or you could try

kubectl get pods --all-namespaces

If you don't see anything in the first command.

from k3s-minecraft.

phreekbird avatar phreekbird commented on September 26, 2024

huh those commands work find, i wonder if its cause im using k3s?

from k3s-minecraft.

gilesknap avatar gilesknap commented on September 26, 2024

So k8s-mclist only does this

kubectl -n minecraft get deploy -o $format

where format is set using

format=custom-columns=\
NAME:metadata.labels.release\
,MODE:spec.template.spec.containers[0].env[22].value\
,VERSION:spec.template.spec.containers[0].env[2].value\
,SERVER:'spec.template.spec.nodeSelector.kubernetes\.io/hostname'\
,RUNNING:status.availableReplicas

I can only assume that one of the columns in format is missing from your setup for some reason - its not a great errror!

from k3s-minecraft.

Related Issues (5)

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.