---
title: Charmhub | Deploy CoreDNS using Charmhub - The Open Operator Collection
description: Deploy the latest version of CoreDNS as a Kubernetes Operator on any
  cloud.
url: https://charmhub.io/coredns/actions
---

# CoreDNS

[Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

* [Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

Platform:

stable 88ad7d7

```
juju deploy coredns
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [list-resources](https://charmhub.io/coredns/actions#list-resources)
* [list-versions](https://charmhub.io/coredns/actions#list-versions)
* [scrub-resources](https://charmhub.io/coredns/actions#scrub-resources)
* [sync-resources](https://charmhub.io/coredns/actions#sync-resources)

[Learn about actions >](https://juju.is/docs/juju/action)

* list-resources

  List Resources of configured version

  Params

  + manifest
    string

    Filter list based on "coredns" manifests.
  + resources
    string

    Space separated list of kubernetes resource types to filter list result
* list-versions

  List versions supported by this charm
* scrub-resources

  Remove deployments other than the current one

  Params

  + manifest
    string

    Filter list based on "coredns" manifests.
  + resources
    string

    Space separated list of kubernetes resource types to filter scrubbing
* sync-resources

  Add kubernetes resources which should be created by this charm which aren't
  present within the cluster.

  Params

  + manifest
    string

    Filter list based on "coredns" manifests.
  + resources
    string

    Space separated list of kubernetes resource types
    to use a filter during the sync. This helps limit
    which missing resources are applied.
