[ 
https://issues.apache.org/jira/browse/HDDS-1508?focusedWorklogId=254553&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-254553
 ]

ASF GitHub Bot logged work on HDDS-1508:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jun/19 18:23
            Start Date: 05/Jun/19 18:23
    Worklog Time Spent: 10m 
      Work Description: elek commented on pull request #905: HDDS-1508. Provide 
example k8s deployment files for the new CSI server
URL: https://github.com/apache/hadoop/pull/905#discussion_r290873793
 
 

 ##########
 File path: 
hadoop-ozone/dist/src/main/k8s/examples/ozone-csi/datanode-daemonset.yaml
 ##########
 @@ -0,0 +1,56 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+apiVersion: apps/v1
+kind: DaemonSet
+metadata:
+  name: datanode
+  labels:
+    app.kubernetes.io/component: ozone
+spec:
+  selector:
+    matchLabels:
+      app: ozone
+      component: datanode
+  template:
+    metadata:
+      annotations:
+        prometheus.io/scrape: "true"
+        prometheus.io/port: "9882"
+        prometheus.io/path: /prom
+      labels:
+        app: ozone
+        component: datanode
+    spec:
+      containers:
+      - name: datanode
+        image: '@docker.image@'
+        args:
+        - ozone
+        - datanode
+        ports:
+        - containerPort: 9870
+          name: rpc
+        envFrom:
+        - configMapRef:
+            name: config
+        volumeMounts:
+        - name: data
+          mountPath: /data
+      initContainers: []
+      volumes:
+      - name: data
+        emptyDir: {}
 
 Review comment:
   > And point the location to a maven build directory
   
   Unfortunately kubernetes works in a different way, it's not possible:
   
    * There are multiple nodes, you can't just mount one build directory to 
multiple nodes
    * The build directory may or may not be on one of the nodes 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 254553)
    Time Spent: 1.5h  (was: 1h 20m)

> Provide example k8s deployment files for the new CSI server
> -----------------------------------------------------------
>
>                 Key: HDDS-1508
>                 URL: https://issues.apache.org/jira/browse/HDDS-1508
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Issue HDDS-1382 introduced a new internal CSI server. We should provide 
> example deployment files to make it easy to deploy it to any kubernetes 
> cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to