-
Notifications
You must be signed in to change notification settings - Fork 304
Can you explain how to work this client? #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
seems |
@tg123 I think this is the same underlying issue as this: |
@RouR sorry for the late reply, just another busy week Your approach is right and there is a tricky thing in generated client:
workarounds might be:
here is my tested using JsonPatch which is trying to add another label to pod.
@brendanburns
howerver the generated client, like Java client, treat all body object as JSONPatchType. |
Hmm,
I use Microsoft.AspNetCore.JsonPatch instead of https://github.com/aaxelm/JsonPatch.NetStandard
The type Appsv1beta1Deployment is not defined in NuGet-package KubernetesClient 0.3.0-beta |
Hi! Can you explain how to use it? Or provide some example - how to change label in deployment specification? |
using Microsoft.AspNetCore.JsonPatch;
|
Thanks! |
I have some config
And I write this code, dokerize it and deploy to cluster with env KUBERNETES_SERVICE_HOST="kubernetes.default.svc.cluster.local" KUBERNETES_SERVICE_PORT="443"
And I get
The text was updated successfully, but these errors were encountered: