Skip to content

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

@ravieze

Description

@ravieze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions