From hdfs-issues-return-279167-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu Aug 22 08:41:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6E3CA180669 for ; Thu, 22 Aug 2019 10:41:03 +0200 (CEST) Received: (qmail 10441 invoked by uid 500); 22 Aug 2019 08:41:02 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 10426 invoked by uid 99); 22 Aug 2019 08:41:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2019 08:41:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C1A80E3096 for ; Thu, 22 Aug 2019 08:41:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 6DD38781F2B for ; Thu, 22 Aug 2019 08:41:00 +0000 (UTC) Date: Thu, 22 Aug 2019 08:41:00 +0000 (UTC) From: "Nanda kumar (Jira)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDDS-1871) Remove anti-affinity rules from k8s minkube example MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDDS-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913140#comment-16913140 ] Nanda kumar commented on HDDS-1871: ----------------------------------- Committed this to ozone-0.4.1 branch. > 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 > Priority: Blocker > Labels: pull-request-available > Fix For: 0.4.1, 0.5.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > 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 (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org