Prepare for a domain

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

    $ kubectl create namespace sample-domain1-ns
    
  2. Use helm to configure the operator to manage domains in this namespace:

    $ helm upgrade sample-weblogic-operator  kubernetes/charts/weblogic-operator \
        --namespace sample-weblogic-operator-ns \
        --reuse-values \
        --set "domainNamespaces={sample-domain1-ns}" \
        --wait
    
  3. Configure Traefik to manage ingresses created in this namespace:

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

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