Skip to content

Some issues regarding the creation of custom Sessions. #253

Answered by jfaltermeier
wyhdil asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

the Java library we are using to interact with kubernetes is https://github.com/fabric8io/kubernetes-client
The .create() method should send to object you created to the kubernetes API and returns the object that is now present on kubernetes side. So it looks like on kubernetes your information got lost.

It looks like you have changed the SessionSpec to also have the resource limitations in them.
Besides that you also have to do two more things:
You also have to increase the version in the annotations in org.eclipse.theia.cloud.common.k8s.resource.Session.
And tell kubernetes itself about this change by adding a new version here: https://github.com/eclipsesource/theia-cloud-helm/blob/…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wyhdil
Comment options

Answer selected by wyhdil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants