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

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

                Author: ASF GitHub Bot
            Created on: 05/Jun/19 17:27
            Start Date: 05/Jun/19 17:27
    Worklog Time Spent: 10m 
      Work Description: eyanghwx 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_r290851056
 
 

 ##########
 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:
   HostPath would be the right approach, and point the location to a maven 
build directory.  This will allow maven to clean up the state when data is no 
longer needed.  This also prevent accidental deletion of user data in default 
setting.
 
----------------------------------------------------------------
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: 254500)
    Time Spent: 1h 20m  (was: 1h 10m)

> 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: 1h 20m
>  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