java icon indicating copy to clipboard operation
java copied to clipboard

Need a pointer/ example on how to do `kubectl -f apply abc.yaml`

Open ravieze opened this issue 1 year ago • 6 comments

Describe the bug I went through the examples but I was unable to figure out how to simulate kubectrl -f apply abc.yaml

I am using spark operator. The yaml is of kind SparkApplication. I was able to find a way to submit svc and pods to the kubernetis. But I was not able to figure out how to submit a custom yaml which submits to spark operator

Client Version latest

Kubernetes Version 1.25.4

Java Version Java 8

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

KubeConfig If applicable, add a KubeConfig file with secrets redacted.

Server (please complete the following information):

  • OS: [e.g. Linux] -- ARM LInux
  • Environment [e.g. container] - DOcker
  • Cloud [e.g. Azure] - AWS EKS

Additional context Add any other context about the problem here.

ravieze avatar May 24 '23 14:05 ravieze