Commit Graph

54 Commits

Author SHA1 Message Date
KubeSphere CI Bot
566ed4d4b9 Merge pull request #2012 from duanjiong/network-policy
Network policy
2020-04-29 10:44:27 +08:00
Duan Jiong
d3bdcd0465 network: support network isolate
Add new crd to convert kubesphere network policy to k8s network policy, and then other network
plugin will do the rest work.

Use  cache.go from calico project's kube-controller,  it aim to  sync nsnp with k8s np, delete unused np, and relieve the pressure on k8s restful client.

If you want higher performance, you can implement interface  NsNetworkPolicyProvider in pkg/controller/provider/namespace_np.go.

Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:21:50 +08:00
hongming
b7a2705ac9 Merge remote-tracking branch 'upstream/dev' into dev
# Conflicts:
#	go.mod
#	pkg/apiserver/apiserver.go
#	pkg/apiserver/config/config.go
2020-04-28 00:52:30 +08:00
hongming
7db2ba662c migrate legacy API
Signed-off-by: hongming <talonwan@yunify.com>
2020-04-28 00:45:12 +08:00
zryfish
5a3eb651f3 change cluster schema (#2026)
* change cluster schema

* change cluster schema
2020-04-27 17:34:02 +08:00
runzexia
9a6ba04a37 clean old devops code
todo impl use informer

Signed-off-by: runzexia <runzexia@yunify.com>
2020-04-15 11:03:08 +08:00
runzexia
09576fdc15 updatee 2020-04-01 15:06:30 +08:00
runzexia
1a6f563da1 Merge branch 'dev' into devops-refactor
# Conflicts:
#	cmd/controller-manager/app/controllers.go
#	hack/generate_client.sh
#	pkg/client/clientset/versioned/clientset.go
#	pkg/client/clientset/versioned/fake/clientset_generated.go
#	pkg/client/clientset/versioned/fake/register.go
#	pkg/client/clientset/versioned/scheme/register.go
#	pkg/client/informers/externalversions/generic.go
2020-04-01 11:04:09 +08:00
hongming
4746c72806 Merge remote-tracking branch 'upstream/dev' into dev
# Conflicts:
#	hack/generate_client.sh
2020-03-30 15:48:10 +08:00
runzexia
8892c63adb Merge branch 'dev' into devops-refactor 2020-03-30 10:26:13 +08:00
zryfish
7121e3609c move agent crd to kubesphere (#1974) 2020-03-29 16:49:11 +08:00
hongming
54fc52c0e3 add user crd
Signed-off-by: hongming <talonwan@yunify.com>
2020-03-28 21:14:43 +08:00
runzexia
23c8d71a5a pipeline crd
Signed-off-by: runzexia <runzexia@yunify.com>
2020-03-25 10:58:39 +08:00
runzexia
93461cfb0b add devops project controller
Signed-off-by: runzexia <runzexia@yunify.com>
2020-03-18 14:48:41 +08:00
zryfish
641615b299 This is a huge commit, it does following things: (#1942)
1. Remove ks-iam standalone binary, move it to ks-apiserver
2. Generate all devops apis inside kubesphere repository, no need to
import s2ioperator.
3. Reorganize ldap code, make it more flexible to use.
2020-03-10 13:50:17 +08:00
Guangzhe Huang
6c6bfb2677 [WIP] logging refactor (#1794)
* refactor logging

Signed-off-by: huanggze <loganhuang@yunify.com>

* refactor logging

Signed-off-by: huanggze <loganhuang@yunify.com>
2020-03-02 10:53:43 +08:00
zryfish
eceadec69c devlopment branch (#1736) 2020-01-02 20:52:00 +08:00
zryfish
ea88c8803d use istio client-go library instead of knative (#1661)
use istio client-go library instead of knative
bump kubernetes dependency version
change code coverage to codecov
2019-12-13 11:26:18 +08:00
magicsong
e33f5824b3 fix error 2019-08-23 11:13:42 +08:00
magicsong
122fb9035d fix conflict 2019-08-17 16:29:47 +08:00
runzexia
b754e17022 code generate by $GEN-TOOL name
Signed-off-by: runzexia <runzexia@yunify.com>
2019-08-14 22:04:53 +08:00
magicsong
90fa38851f add ns networkpolicy 2019-08-08 18:39:00 +08:00
runzexia
7c8012891c gen client
Signed-off-by: runzexia <runzexia@yunify.com>
2019-08-07 17:11:00 +08:00
magicsong
75d787f15f 🌟 add support of workspace networkpolicy 2019-07-31 10:31:31 +08:00
hongming
ece9049836 automatically create kubeconfig
Signed-off-by: hongming <talonwan@yunify.com>
2019-04-28 17:52:21 +08:00
hongming
93ad572e19 refine tenant api
Signed-off-by: hongming <talonwan@yunify.com>
2019-04-08 20:48:31 +08:00
Jeff
2e1dc6a7b5 service policy
refactor virtualservice controller
2019-03-28 22:09:50 +08:00
Jeff
aa4d07c80a add controllers
change kiali mux to go-restful

add knative
2019-03-25 01:38:32 +08:00
Jeff
232b4efaad refactor project 2019-03-23 00:51:03 +08:00
Carman Zhang
bf022a19fe changed default prometheus query timeout to 10 seconds 2018-12-06 21:54:37 +08:00
Carman Zhang
9a6880bc9c support node-pod/namespace-workload sorting and paging 2018-11-23 11:41:56 +08:00
Carman Zhang
df31cab343 add load average metrics, change prometheus apiserver svc 2018-11-16 17:41:17 +08:00
Carman Zhang
c5d9da99a1 fixed component and cluster metrics 2018-11-16 11:04:42 +08:00
Carman Zhang
f9057a0705 reformat monitoring apis 2018-11-11 13:13:39 +08:00
Carman Zhang
c65ecddbef add cluster level multiple metrics in dashboard 2018-10-17 16:31:43 +08:00
Carman Zhang
53dd54b163 add monitoring apis 2018-09-27 17:50:26 +08:00
richardxz
7db56c8b5f modify db client's initialization function 2018-09-17 15:16:58 +08:00
richardxz
6d812aa3c5 change db driver 2018-07-07 11:20:30 -04:00
richardxz
e26505094c delete useless code 2018-07-05 04:00:01 -04:00
jeff
8a04650e29 Add error check to heapsterclient response
Add labelSelector to pod metrics api
Remove pod metrics in resources API
2018-06-26 14:42:36 +08:00
jeff
a12da3b63e fix pod metrics error 2018-06-20 15:59:51 +08:00
zryfish
109d2ab071 Update heapsterclient.go
Change heapsterclient url
2018-06-20 13:44:42 +08:00
jeff
18932ed1d8 Fix minor metrics bugs and refactor route implementation 2018-06-20 10:29:50 +08:00
richardxz
07bef0475a add namespace's resource usage Statistics and fix some bugs 2018-06-19 22:17:51 +08:00
yanmingfan
6922cbc9dc mapping data to etcd 2018-06-16 13:00:47 +08:00
richardxz
b72e332aff mapping data to etcd 2018-06-16 12:13:48 +08:00
jenkins
7140181e94 add kubectl/kubeconfig/quota/terminal api, but quota api is tempoary, will be changed as soon 2018-06-08 15:08:46 +08:00
jeff
85d35e42ea format code 2018-06-05 20:52:50 +08:00
Calvin Yu
1683f44594 refactor monitor apis to adopt new response format 2018-06-01 20:13:57 +08:00
Calvin Yu
c7307e4d7a add real time cpu/memory monitor api for container level 2018-05-28 11:36:47 +08:00