Skip to content

Commit 6d10daa

Browse files
author
runzexia
committed
update comment
Signed-off-by: runzexia <[email protected]>
1 parent 5b056ec commit 6d10daa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/src/main/java/io/kubernetes/client/examples/PatchExample.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ public static void main(String[] args) throws IOException {
9090
null);
9191
System.out.println("strategic-merge-patched deployment" + deploy3);
9292

93-
// apply-yaml a deployment
93+
// 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
9496
ApiClient applyYamlClient =
9597
ClientBuilder.standard().setOverridePatchFormat(V1Patch.PATCH_FORMAT_APPLY_YAML).build();
9698
applyYamlClient.setDebugging(true);

0 commit comments

Comments
 (0)