Coder Social home page Coder Social logo

Tanka init fail about tanka HOT 3 CLOSED

Its-Alex avatar Its-Alex commented on June 1, 2024
Tanka init fail

from tanka.

Comments (3)

Its-Alex avatar Its-Alex commented on June 1, 2024 1

I found a solution, using this jsonnetfile.json:

{
  "version": 1,
  "dependencies": [
    {
      "source": {
        "git": {
          "remote": "https://github.com/grafana/jsonnet-libs.git",
          "subdir": "ksonnet-util"
        }
      },
      "version": "master"
    },
    {
      "source": {
        "git": {
          "remote": "https://github.com/jsonnet-libs/docsonnet.git",
          "subdir": "doc-util"
        }
      },
      "version": "master"
    },
    {
      "source": {
        "git": {
          "remote": "https://github.com/jsonnet-libs/k8s-libsonnet.git",
          "subdir": "1.20"
        }
      },
      "version": "5c83a9a2b08fa055cfc62d9f59270161dd729596"
    }
  ],
  "legacyImports": true
}

And setting version to a commit of k8s-libsonnet before the drop of kubernetes 1.20, I can do a jb install successfully.

I leave a comment in jsonnet-libs/k8s#417 (comment) to explain that supported version are not emphasised.

from tanka.

dan-os avatar dan-os commented on June 1, 2024

This issue was was recently fixed by #1010 but has not been shipped yet.

In the meantime, you can manually set your kubernetes version like so:

tk init --k8s 1.29

Hope this helps!

from tanka.

Its-Alex avatar Its-Alex commented on June 1, 2024

@dan-os Hello, I wanted to use version 1.20, that doesn't work with that version, can you help me know how to make it works with a version before 1.26 ?

from tanka.

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.