Questions tagged [ksonnet]

ksonnet is a cli-supported framework for extensible Kubernetes configurations.

A CLI-supported framework for extensible Kubernetes configurations. Built on the JSON templating language Jsonnet, ksonnet simplifies defining an application configuration, updating the configuration over time, and specializing it for different clusters and environments.

Project info

13 questions
17
votes
1 answer

Draft and Helm vs Ksonnet?

As I understand all of these tools Draft,Helm and Ksonnet have overlapping functionality such as creating a chart as well as deploying kubernetes configurations. I understand that purpose of these tool would be to describe and configure the…
Suresh Vishnoi
  • 17,341
  • 8
  • 47
  • 55
8
votes
1 answer

how to write multi-line value in ksonnet/jsonnet

I want to create a kubernetes config map with multi-lines, such as this kind of yaml: apiVersion: v1 kind: ConfigMap metadata: name: nifi-bootstrap data: run.sh: |- echo "Waiting to run nslookup..." sleep 30 How should I write it in a…
Xiang Zhang
  • 2,831
  • 20
  • 40
5
votes
1 answer

How to append an existing object in jsonnet?

How to append to an existing list? This is not valid: local list = ['a', 'b', 'c']; local list = list + ['e'];
maikel
  • 1,135
  • 1
  • 12
  • 9
2
votes
1 answer

How to resolve the "ERROR No Major.Minor.Patch elements found" during ksonnet init step in AWS EKS setup

I'm following the official AWS EKS tutorial on setting up a distributed GPU cluster for Tensorflow model training and am hitting a bit of a snag. After creating a new cluster using eksctl and verifying that the corresponding ~/.kube/config file…
2
votes
1 answer

how to replace one element of array in jsonnet with mixin way?

we have array imported from libsonnet { "volumes": [ { "emptyDir": {}, "name": "grafana-storage" }, { "configMap": { "name": "grafana-dashboard-apiserver" }, "name": " grafana-dashboard-apiserver" …
Roger Song
  • 43
  • 4
2
votes
1 answer

VSCode extension - getting started with ksonnet

I would really like to try out ksonnet with the VSCode extension but can't seem to get things setup properly and I've read the setup instructions. I have done the following: brew install ks brew install jsonnet ks init traefik git clone…
kross
  • 3,627
  • 2
  • 32
  • 60
1
vote
1 answer

Kubeflow: Image Pull --> no space left on device

Is there any way to clean all cached docker images etc from a kubernetes setup that could free up space on the master nodes? I try to install a deployment but the kubernetes prompts “no space left on device” while image pulling. I am kind of…
user7436888
  • 337
  • 1
  • 4
  • 9
1
vote
2 answers

How to mount local volume to ksonnet component deployed in kubeflow

I am trying to mount a local directory into a component deployed in kubeflow using ksonnet prototype.
1
vote
2 answers

Can jsonnet use shell?

I'd like to write code like below in jsonnet. Can jsonnet support this? local region = `curl http://100.100.100.200/latest/metadata/region_id` the region variable should be the output of executing curl…
che yang
  • 395
  • 3
  • 18
0
votes
1 answer

Kubeflow on kubernetes, ksonnet apply function is not reacting properly?

I'm trying the following codelab: https://codelabs.developers.google.com/codelabs/kubeflow-introduction/index.html When I want to apply my container to the cluster the shell freezes and after a couple of minutes it returns 'Killed'. This is the…
0
votes
2 answers

How can i run ksonnet command on kubernetes cluster from inside a container on the cluster

I am trying to trigger ksonnet component deployment from within a container on a kubernetes cluster. The ks component prototype is on the node itself. I am just trying to execute ks generate and ks apply command on the node from inside a container…
0
votes
1 answer

Does ksonnet have a similar function like "helm list"?

I used 'helm chart' before, and started to learn ksonnet recently. After reading https://ksonnet.io/docs/cli-reference#overview, I am confused that there is no "helm list" function in ksonnet. Please correct me if I misunderstand. And if my…
che yang
  • 395
  • 3
  • 18
0
votes
1 answer

How to fix unexpected node type with ksonnet?

When I try to set a parameter with ksonnet I get an error ks param set --env=prow workflows name some-name ERROR Invalid params schema -- did not expect node type: *ast.ApplyBrace My parameters file looks like local params = import…
Jeremy Lewi
  • 6,386
  • 6
  • 22
  • 37