We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b056ec commit 6d10daaCopy full SHA for 6d10daa
examples/src/main/java/io/kubernetes/client/examples/PatchExample.java
@@ -90,7 +90,9 @@ public static void main(String[] args) throws IOException {
90
null);
91
System.out.println("strategic-merge-patched deployment" + deploy3);
92
93
- // apply-yaml a deployment
+ // apply-yaml a deployment, server side apply is alpha in kubernetes v1.14,
94
+ // You need to actively enable the Server Side Apply alpha feature
95
+ // https://kubernetes.io/docs/reference/using-api/api-concepts/#server-side-apply
96
ApiClient applyYamlClient =
97
ClientBuilder.standard().setOverridePatchFormat(V1Patch.PATCH_FORMAT_APPLY_YAML).build();
98
applyYamlClient.setDebugging(true);
0 commit comments