Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1871

Remove anti-affinity rules from k8s minkube example

    XMLWordPrintableJSON

Details

    • Done

    Description

      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:

       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
      

      You should see 3 datanode instances.

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h