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

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

                Author: ASF GitHub Bot
            Created on: 04/Jun/19 16:31
            Start Date: 04/Jun/19 16:31
    Worklog Time Spent: 10m 
      Work Description: xiaoyuyao 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_r290386888
 
 

 ##########
 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:
   Can we support mount hostVolume for datanode daemons?
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 253840)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to