Commit 9cca2c51 authored by fanux's avatar fanux
Browse files

add .drone and note

parent 2a9bf66a
main add-code-of-conduct-1 app bugfix dev-cloud dev-refactor dev-v4.0 dev-v4.0-old develop errors feature/buildah feature/calico_template feature/clean_aliyun feature/cloud gomod/v3 master master-version release-v3.3.9 release-v3.4.0 release-v4.0.0 release-v4.1.3 v2.0.0 v3.0.0 v4.0 v4.1.4-rc1 v4.1.3 v4.1.3-rc1 v4.1.2 v4.1.2-rc1 v4.1.1 v4.1.0 v4.1.0-rc3 v4.1.0-rc2 v4.1.0-rc1 v4.0.0 v4.0.0-rc1 v4.0.0-alpha.16 v4.0.0-alpha.15 v4.0.0-alpha.14 v4.0.0-alpha.13 v4.0.0-alpha.12 v4.0.0-alpha.11 v4.0.0-alpha.10 v4.0.0-alpha.9 v4.0.0-alpha.8 v4.0.0-alpha.7 v4.0.0-alpha.6 v4.0.0-alpha.5 v4.0.0-alpha.4 v4.0.0-alpha.3 v4.0.0-alpha.2 v4.0.0-alpha.1 v3.3.9-rc.11 v3.3.9-rc.10 v3.3.9-rc.9 v3.3.9-rc.8 v3.3.9-rc.7 v3.3.9-rc.6 v3.3.9-rc.5 v3.3.9-rc.3 v3.3.9-rc.2 v3.3.9-rc.1 v3.3.9-rc.0 v3.3.9-goreleaser v3.3.9-beta.3 v3.3.9-beta.2 v3.3.9-beta.1 v3.3.9-beta.0 v3.3.9-alpha.2 v3.3.9-alpha.1 v3.3.9-alpha.0 v3.3.8 v3.3.7 v3.3.6 v3.3.5 v3.3.4 v3.3.3 v3.3.2 v3.3.1 v3.3.0 v3.2.0 v3.2.0-beta.2 v3.2.0-beta.1 v3.2.0-beta.0 v3.2.0-alpha.0 v3.1.2-alpha.1 v3.1.2-alpha.0 v3.1.1 v3.1.1-alpha.3 v3.1.1-alpha.2 v3.1.1-alpha.1 v3.1.1-alpha.0 v3.1.0 v3.1.0-alpha.4 v3.1.0-alpha.3 v3.1.0-alpha.2 v3.1.0-alpha.1 v3.1.0-alpha.0 v3.0.1 v3.0.1-alpha.2 v3.0.1-alpha.1 v3.0.1-alpha.0 v3.0.0 v3.0.0-beta.2 v3.0.0-beta.1 v3.0.0-beta.0 v3.0.0-alpha.0 v2.0.7 v2.0.6 v2.0.5 v2.0.5-alpha.6 v2.0.5-alpha.5 v2.0.5-alpha.4 v2.0.5-alpha.3 v2.0.5-alpha.2 v2.0.5-alpha.1 v2.0.5-alpha.0 v2.0.4 v2.0.3 v2.0.1-beta.3 v2.0.1-beta.2 v2.0.1-beta.1 v2.0.1-beta.0 v2.0.0.alpha.9 v2.0.0.alpha.8 v2.0.0-beta.2 v2.0.0-beta.0 v2.0.0-alpha.10 v2.0.0-alpha.7 v2.0.0-alpha.6 v2.0.0-alpha.5 v2.0.0-alpha.4 v2.0.0-alpha.3 v2.0.0-alpha.2 v2.0.0-alpha.0
No related merge requests found
Showing with 72 additions and 1 deletion
+72 -1
kind: pipeline
name: default
workspace:
base: /go
path: src/github.com/fanux/sealos
# go mod vender
#environment:
# GO111MODULE: on
steps:
- name: build
image: golang:1.11.3
commands:
- go build -o sealos
- name: publish-hub
image: plugins/docker
settings:
repo: fanux/sealos
tags: ${DRONE_TAG=latest}
username: fanux
username:
from_secret: docker-hub-user
dockerfile: Dockerfile
password:
from_secret: docker-hub-pass
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: git-release-token
files: sealos
title: ${DRONE_TAG}
note: Note.md
when:
event: tag
Note.md 0 → 100644
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/fanux/sealos)
[![Build Status](https://cloud.drone.io/api/badges/fanux/sealos/status.svg)](https://cloud.drone.io/fanux/sealos)
[简体中文,老版本](https://sealyun.com/post/sealos/)
[简体中文,kubernetes v1.14.0+](https://sealyun.com/post/super-kubeadm/)
[离线包购买市场](http://store.lameleg.com/)
[sealos 1.x docs](https://github.com/fanux/sealos/tree/v1.14.0)
# Sealos 2.0
Support kuberentes 1.14.0+ , you needn't keepalived and haproxy anymore!
build a production kubernetes cluster
# Quick Start
```
sealos init --master 192.168.0.2 --master 192.168.0.3 --master 192.168.0.4 --node 192.168.0.5 --user root --passwd your-server-password
```
Thats all!
# Architecture
```
+----------+ +---------------+ virturl server: 127.0.0.1:6443
| mater0 |<----------------------| ipvs nodes | real servers:
+----------+ |+---------------+ 10.103.97.200:6443
| 10.103.97.201:6443
+----------+ | 10.103.97.202:6443
| mater1 |<---------------------+
+----------+ |
|
+----------+ |
| mater2 |<---------------------+
+----------+
```
Every node config a ipvs for masters LB.
Then run a lvscare as a staic pod to check realserver is aviliable. `/etc/kubernetes/manifests/sealyun-lvscare.yaml`
# [LVScare](https://github.com/fanux/LVScare)
This can care your masters ipvs rules.
# 公众号:
![sealyun](https://sealyun.com/kubernetes-qrcode.jpg)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment