Skip to content

How to apply a yaml file #1118

Closed
Closed

Description

@SpringHgui

I have some yaml files, how to achieve the same effect with sdk like

kubectl apply -f xxxx.yaml

and

kubectl delete -f xxxx.yaml

Activity

  1. changed the title [-]Ho[/-] [+]How to apply a yaml file[/+] on Dec 7, 2022
  2. tg123 commented on Dec 7, 2022

    @tg123
    Member

    you have to do it manually until kubectl like api finished

    how apply works
    https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/apply/apply.go

  3. SpringHgui commented on Dec 8, 2022

    @SpringHgui
    Author

    🆗

  4. locked and limited conversation to collaborators on Dec 14, 2022
  5. converted this issue into a discussion #1135 on Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions