**N.B.**: Do not federate the “kind: pod” resource. In this case, federating a whole namespace will federate pods and deployments at the same time. Deployments will create replicasets which in turn create pods. It will result a duplication of the pods resources.
## Deploy application
Below the procedure to deploy and federate an application and enable ExternalDNS.
### Create namespace (Host Cluster)
The first step is create a namespace in the host cluster:
command line:
```bash
$ kubectl create namespace <namespace-name>
```
or create it by yaml file (resource/namespace.yaml):
```yaml
# namespace.yaml file
apiVersion:v1
kind:Namespace
metadata:
name:fed-namespace
```
```bash
$ kubectl create -f resource/namespace.yaml
```
### Federate namespace
Once the namespace is created in the Host Cluster, it can be federate on the Member Cluster: