[
https://issues.apache.org/jira/browse/SUBMARINE-314?focusedWorklogId=355952&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-355952
]
ASF GitHub Bot logged work on SUBMARINE-314:
--------------------------------------------
Author: ASF GitHub Bot
Created on: 09/Dec/19 05:58
Start Date: 09/Dec/19 05:58
Worklog Time Spent: 10m
Work Description: liuxunorg commented on pull request #123:
SUBMARINE-314. Creating a k8s environment locally using kind
URL: https://github.com/apache/submarine/pull/123
### What is this PR for?
Because the submarine on cloud is based on the k8s operating environment, in
order to be able to develop and test locally, we use kind to deploy a complete
k8s environment locally.
1. install k8s cluster
2. install docker registry
### What type of PR is it?
Feature
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/SUBMARINE-314
### How should this be tested?
* [CI Pass](https://travis-ci.org/liuxunorg/submarine/builds/622469321)
### Screenshots (if appropriate)

```
kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-576cbf47c7-mk5bb 0/1 Pending 0 27s
kube-system coredns-576cbf47c7-zbhgz 0/1 Pending 0 27s
kube-system ip-masq-agent-fdzr5 1/1 Running 0 27s
kube-system ip-masq-agent-w2pgc 1/1 Running 0 25s
kube-system kindnet-hbclv 1/1 Running 0 25s
kube-system kindnet-vlx47 1/1 Running 0 27s
kube-system kube-proxy-84c9z 1/1 Running 0 25s
kube-system kube-proxy-mvvbz 1/1 Running 0 27s
```
```
docker tag busybox localhost:5000/busybox
docker push localhost:5000/busybox
The push refers to repository [localhost:5000/busybox]
1da8e4c8d307: Pushed
latest: digest:
sha256:679b1c1058c1f2dc59a3ee70eed986a88811c0205c8ceea57cec5f22d2c3fbb1 size:
527
```
### Questions:
* Does the licenses files need update? Yes/No
* Is there breaking changes for older versions? Yes/No
* Does this needs documentation? Yes/No
----------------------------------------------------------------
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: 355952)
Remaining Estimate: 0h
Time Spent: 10m
> Creating a k8s environment locally using kind
> ---------------------------------------------
>
> Key: SUBMARINE-314
> URL: https://issues.apache.org/jira/browse/SUBMARINE-314
> Project: Apache Submarine
> Issue Type: Sub-task
> Components: Submarine Cloud
> Reporter: Liu Xun
> Assignee: Liu Xun
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Because the submarine on cloud is based on the k8s operating environment, in
> order to be able to develop and test locally, we use kind to deploy a
> complete k8s environment locally.
> 1. k8s cluster
> 2. docker registry
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]