Elek, Marton created HDDS-1871:
----------------------------------

             Summary: Remove anti-affinity rules from k8s minkube example
                 Key: HDDS-1871
                 URL: https://issues.apache.org/jira/browse/HDDS-1871
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: kubernetes
            Reporter: Elek, Marton
            Assignee: Elek, Marton


HDDS-1646 introduced real persistence for k8s example deployment files which 
means that we need anti-affinity scheduling rules: Even if we use statefulset 
instead of daemonset we would like to start one datanode per real nodes.

With minikube we have only one node therefore the scheduling rule should be 
removed to enable at least 3 datanodes on the same physical nodes.

How to test:

{code}
 mvn clean install -DskipTests -f pom.ozone.xml
cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/kubernetes/examples/minikube
minikube start
kubectl apply -f .
kc get pod
{code}

You should see 3 datanode instances.




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to