Prepare for a domain

  1. Create and label a namespace that can host one or more domains:

    $ kubectl create namespace sample-domain1-ns
    
    $ kubectl label ns sample-domain1-ns weblogic-operator=enabled
    
  2. Configure Traefik to manage ingresses created in this namespace:

    $ helm upgrade traefik-operator traefik/traefik \
        --namespace traefik \
        --reuse-values \
        --set "kubernetes.namespaces={traefik,sample-domain1-ns}"
    

If you have reached this point while following the “Model in Image” sample, please stop here and return to the sample instructions.