The equivalent command in fabric8's KubernetesClient for 'kubectl apply -f' is:
client.resourceList(new KubernetesListBuilder().withItems(items).build()).inNamespace(namespace).createOrReplace();
where items
is a List of Kubernetes resources in YAML format, and namespace
is the namespace where the resources should be deployed.
Asked: 2023-06-26 01:00:23 +0000
Seen: 14 times
Last updated: Jun 26 '23