Sha256: 4d06a835664ed727f9fe9a38ef52ed480b2466caeabdf34fa496125cf9433a30

Contents?: true

Size: 807 Bytes

Versions: 38

Compression:

Stored size: 807 Bytes

Contents

---
title: Delete App
---

Let's now delete the app and clean up:

    kubes delete

You will be prompted to confirm before deletion. Here's out the output looks like:

    $ kubes delete
    This will delete resources. Are you sure? (y/N) y
    Compiled  .kubes/resources files
    => kubectl delete -f .kubes/output/web/service.yaml
    service "demo-web" deleted
    => kubectl delete -f .kubes/output/web/deployment.yaml
    deployment.apps "demo-web" deleted
    => kubectl delete -f .kubes/output/shared/namespace.yaml
    namespace "demo" deleted
    $

Let's double-check that the resources have been deleted:

    $ kubectl get all
    No resources found.
    $

Tip: If you want to delete without the prompt, you can use the `-y` option:

    kubes delete -y

Next, we'll look at some next steps.

Version data entries

38 entries across 19 versions & 1 rubygems

Version Path
kubes-0.4.7 docs/_docs/learn/yaml/delete.md
kubes-0.4.7 docs/_docs/learn/dsl/delete.md
kubes-0.4.6 docs/_docs/learn/yaml/delete.md
kubes-0.4.6 docs/_docs/learn/dsl/delete.md
kubes-0.4.5 docs/_docs/learn/dsl/delete.md
kubes-0.4.5 docs/_docs/learn/yaml/delete.md
kubes-0.4.4 docs/_docs/learn/yaml/delete.md
kubes-0.4.4 docs/_docs/learn/dsl/delete.md
kubes-0.4.3 docs/_docs/learn/yaml/delete.md
kubes-0.4.3 docs/_docs/learn/dsl/delete.md
kubes-0.4.2 docs/_docs/learn/yaml/delete.md
kubes-0.4.2 docs/_docs/learn/dsl/delete.md
kubes-0.4.1 docs/_docs/learn/yaml/delete.md
kubes-0.4.1 docs/_docs/learn/dsl/delete.md
kubes-0.4.0 docs/_docs/learn/dsl/delete.md
kubes-0.4.0 docs/_docs/learn/yaml/delete.md
kubes-0.3.5 docs/_docs/learn/dsl/delete.md
kubes-0.3.5 docs/_docs/learn/yaml/delete.md
kubes-0.3.4 docs/_docs/learn/yaml/delete.md
kubes-0.3.4 docs/_docs/learn/dsl/delete.md