Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Sealer
Commits
ea030306
Commit
ea030306
authored
3 years ago
by
wb-hjh933779
Browse files
Options
Download
Email Patches
Plain Diff
add release v0.6.0
parent
e634e0a1
release-v0.6.0
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+2
-2
README.md
docs/README_zh.md
+2
-2
docs/README_zh.md
docs/site/src/docs/advanced/define-cloudrootfs.md
+6
-6
docs/site/src/docs/advanced/define-cloudrootfs.md
docs/site/src/docs/getting-started/quick-start.md
+4
-4
docs/site/src/docs/getting-started/quick-start.md
test/README.md
+2
-2
test/README.md
with
16 additions
and
16 deletions
+16
-16
README.md
+
2
-
2
View file @
ea030306
...
...
@@ -92,8 +92,8 @@ Install a kubernetes cluster
```
shell script
#install Sealer binaries
wget https://github.com/alibaba/sealer/releases/download/v0.
5.2
/sealer-v0.
5.2
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
5.2
-linux-amd64.tar.gz && mv sealer /usr/bin
wget https://github.com/alibaba/sealer/releases/download/v0.
6.0
/sealer-v0.
6.0
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
6.0
-linux-amd64.tar.gz && mv sealer /usr/bin
#run a kubernetes cluster
sealer run kubernetes:v1.19.8 --masters 192.168.0.2 --passwd xxx
```
...
...
This diff is collapsed.
Click to expand it.
docs/README_zh.md
+
2
-
2
View file @
ea030306
...
...
@@ -17,8 +17,8 @@ sealer可以通过一条命令安装一个kubernetes集群,仅需要提供IP
```
shell script
# 安装sealer
wget https://github.com/alibaba/sealer/releases/download/v0.
5.2
/sealer-v0.
5.2
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
5.2
-linux-amd64.tar.gz && mv sealer /usr/bin
wget https://github.com/alibaba/sealer/releases/download/v0.
6.0
/sealer-v0.
6.0
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
6.0
-linux-amd64.tar.gz && mv sealer /usr/bin
# 安装kubernetes集群
sealer run kubernetes:v1.19.8 --masters 192.168.0.2,192.168.0.3,192.168.0.4 --nodes 192.168.0.5,192.168.0.6,192.168.0.7 --passwd xxx
```
...
...
This diff is collapsed.
Click to expand it.
docs/site/src/docs/advanced/define-cloudrootfs.md
+
6
-
6
View file @
ea030306
...
...
@@ -65,8 +65,8 @@ Contains:
## How can I get CloudRootfs
1.
Pull a BaseImage
`sealer pull kubernetes:v1.19.
9
-alpine`
2.
View the image layer information
`sealer inspect kubernetes:v1.19.
9
-alpine`
1.
Pull a BaseImage
`sealer pull kubernetes:v1.19.
8
-alpine`
2.
View the image layer information
`sealer inspect kubernetes:v1.19.
8
-alpine`
3.
Get into the BaseImage Layer
`ls /var/lib/sealer/data/overlay2/{layer-id}`
You will find the CloudRootfs layer.
...
...
@@ -81,7 +81,7 @@ COPY . .
```
```
shell script
sealer build -t user-defined-kubernetes:v1.19.
9
.
sealer build -t user-defined-kubernetes:v1.19.
8
.
```
Then you can use this image as a BaseImage.
...
...
@@ -90,15 +90,15 @@ Then you can use this image as a BaseImage.
Sometimes you don't want to care about the CloudRootfs context, but need custom some config.
You can use
`kubernetes:v1.19.
9
`
as BaseImage, and use your own config file to overwrite the default file in CloudRootfs.
You can use
`kubernetes:v1.19.
8
`
as BaseImage, and use your own config file to overwrite the default file in CloudRootfs.
For example: daemon.json is your docker engine config, using it to overwrite default config:
```
shell script
FROM kubernetes:v1.19.
9
FROM kubernetes:v1.19.
8
COPY daemon.json etc/
```
```
shell script
sealer build -t user-defined-kubernetes:v1.19.
9
.
sealer build -t user-defined-kubernetes:v1.19.
8
.
```
This diff is collapsed.
Click to expand it.
docs/site/src/docs/getting-started/quick-start.md
+
4
-
4
View file @
ea030306
...
...
@@ -4,10 +4,10 @@
```
shell script
# install Sealer binaries
wget https://github.com/alibaba/sealer/releases/download/v0.
5.2
/sealer-v0.
5.2
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
5.2
-linux-amd64.tar.gz && mv sealer /usr/bin
wget https://github.com/alibaba/sealer/releases/download/v0.
6.0
/sealer-v0.
6.0
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
6.0
-linux-amd64.tar.gz && mv sealer /usr/bin
# run a kubernetes cluster
sealer run kubernetes:v1.19.
9
--masters 192.168.0.2 --passwd xxx
sealer run kubernetes:v1.19.
8
--masters 192.168.0.2 --passwd xxx
```
```
shell script
...
...
@@ -40,7 +40,7 @@ Kubefile:
# 1. kubernetes components like kubectl kubeadm kubelet and apiserver images ...
# 2. docker engine, and a private registry
# 3. config files, yaml, static files, scripts ...
FROM registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.
9
FROM registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.
8
# download kubernetes dashboard yaml file
RUN wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml
# when run this CloudImage, will apply a dashboard manifests
...
...
This diff is collapsed.
Click to expand it.
test/README.md
+
2
-
2
View file @
ea030306
...
...
@@ -21,8 +21,8 @@ To install Sealer and prepare the test environment:
```
console
#
install
Sealer binaries
wget https://github.com/alibaba/sealer/releases/download/v0.
5.2
/sealer-v0.
5.2
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
5.2
-linux-amd64.tar.gz && mv sealer /usr/bin
wget https://github.com/alibaba/sealer/releases/download/v0.
6.0
/sealer-v0.
6.0
-linux-amd64.tar.gz && \
tar zxvf sealer-v0.
6.0
-linux-amd64.tar.gz && mv sealer /usr/bin
#
prepare
test
environment
export ACCESSKEYID={your AK}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help