[
https://issues.apache.org/jira/browse/HDDS-1412?focusedWorklogId=225714&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-225714
]
ASF GitHub Bot logged work on HDDS-1412:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Apr/19 17:08
Start Date: 10/Apr/19 17:08
Worklog Time Spent: 10m
Work Description: hadoop-yetus commented on pull request #719: HDDS-1412.
Provide example k8s deployment files as part of the release package
URL: https://github.com/apache/hadoop/pull/719#discussion_r274066834
##########
File path: hadoop-ozone/dist/src/main/k8s/definitions/ozone/s3g-ss.yaml
##########
@@ -0,0 +1,38 @@
+# 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: StatefulSet
+metadata:
+ name: s3g
+ labels:
+ app.kubernetes.io/component: ozone
Review comment:
whitespace:end of line
----------------------------------------------------------------
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: 225714)
Time Spent: 0.5h (was: 20m)
> Provide example k8s deployment files as part of the release package
> -------------------------------------------------------------------
>
> Key: HDDS-1412
> URL: https://issues.apache.org/jira/browse/HDDS-1412
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> In HDDS-872 we added Dockerfile and skaffold definition to run dev builds on
> kubernetes. But it would be great to include example k8s resource definitions
> helping the deployment of ozone to any kubernetes cluster.
> In this patch I will
> 1. Add k8s resources files to the release tar file to deploy basic ozone
> cluster
> 2. Add Dockerfile to the release tar file to create custom ozone image any
> time
> 3. Add additional maven profiles to build and push development docker images.
> 4. We don't need skaffold any more as the maven based approach is more
> flexible (we can support multiple k8s definitions)
> To easily support multiple type of configuration (simple ozone, minikube,
> csi) we need a basic set of k8s resources files and additional
> transformations to generate the ready-to-use files for each specific
> use-cases.
> The easiest way to do this is adopting the existing structure from
> https://github.com/flokkr/k8s and use https://github.com/elek/flekszible
> tool. But the tool itself is not required at runtime as we generate all the
> required k8s resources files during the development and add the results to
> the version control.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]