Commit Graph

677 Commits

Author SHA1 Message Date
huanggze
4f39094e2f monitoring: update node_pod_quota
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-05-15 21:01:29 +08:00
KubeSphere CI Bot
f0749ac442 Merge pull request #2076 from huanggze/custom-monitoring
api: list metric labels and values
2020-05-15 19:52:32 +08:00
KubeSphere CI Bot
ec903222a7 Merge pull request #2069 from junotx/master
add events search apis
2020-05-15 19:51:31 +08:00
huanggze
8b913abd61 api: list metric labels and values
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-05-15 19:22:23 +08:00
zryfish
d2600705c6 Add requests to nodes (#2078)
* add requests and limits to nodes

* add requests and limits to nodes
2020-05-15 17:31:38 +08:00
junotx
8f5ca7673d add events search apis 2020-05-15 10:28:12 +08:00
Guangzhe Huang
044dd8eba3 monitoring: update builtin metrics (#2074)
Signed-off-by: huanggze <loganhuang@yunify.com>
2020-05-15 10:20:01 +08:00
KubeSphere CI Bot
c3d74660d1 Merge pull request #2071 from shaowenchen/feature_add_pipeline_api
add pipeline api
2020-05-14 23:47:32 +08:00
KubeSphere CI Bot
4abaf96757 Merge pull request #2065 from shaowenchen/fix_create_devops
fix devops create and delete bug
2020-05-14 23:46:31 +08:00
shaowenchen
78080afbf5 fix test 2020-05-14 19:09:53 +08:00
KubeSphere CI Bot
d80cbff938 Merge pull request #2068 from pengcong06/dev
init opClient
2020-05-14 16:33:31 +08:00
pengcong06
070aa863fb init opClient 2020-05-14 14:14:30 +08:00
shaowenchen
b84f261942 add pipeline api 2020-05-14 14:13:07 +08:00
zryfish
1bd660c370 fix proxy bug (#2070) 2020-05-14 13:22:30 +08:00
shaowenchen
8f40bb2d3e fix delete devops failed 2020-05-14 10:01:46 +08:00
shaowenchen
9b656196e3 fix delete devops 2020-05-13 23:13:13 +08:00
shaowenchen
f52cb829c2 fix create devops 2020-05-13 23:01:26 +08:00
zryfish
d358d9ab1a add notification apis (#2066)
add alerting apis

add generic proxy
2020-05-13 21:50:26 +08:00
shaowenchen
4f9c77383e fix create devopsproject 2020-05-13 21:34:16 +08:00
shaowenchen
4fc56de7c0 fix create devopsproject 2020-05-13 21:32:31 +08:00
KubeSphere CI Bot
1464ca197d Merge pull request #2057 from min-zh/snapshot
fix bug of pvc api
2020-05-13 17:24:31 +08:00
zhangmin
250dd4b065 fix bugs of pvc api 2020-05-13 15:56:13 +08:00
zryfish
1d48ca3446 fix ws authorization bug (#2059) 2020-05-12 16:08:05 +08:00
zryfish
dcd341e70f fix websocket bug (#2058) 2020-05-12 15:31:13 +08:00
KubeSphere CI Bot
f34a4e1c2a Merge pull request #2051 from wansir/dev
fix list namespaces
2020-05-08 23:08:29 +08:00
zryfish
18ab887640 add cluster and crd to resources api group (#2053) 2020-05-08 17:30:15 +08:00
zhangmin
4f17b7a07f volume snapshot 2020-05-07 10:47:44 +08:00
hongming
992be764a1 fix list namespaces
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-07 09:14:54 +08:00
zryfish
87e567eaf5 fix cluster controller bug (#2049) 2020-05-06 16:23:38 +08:00
zryfish
dc6c9cc58e fix generation bug (#2048) 2020-05-06 13:53:18 +08:00
KubeSphere CI Bot
738a6102a0 Merge pull request #2045 from wansir/dev
fuzzy matching name by default
2020-05-06 11:17:28 +08:00
zryfish
7cdf67f9f2 fix generation bug (#2047) 2020-05-06 10:52:56 +08:00
KubeSphere CI Bot
3ff82c7299 Merge pull request #2041 from duanjiong/networkpolicy-resource
add k8s networkpolicy resource
2020-05-06 10:40:29 +08:00
hongming
af59940ed2 fuzzy matching name by default
Signed-off-by: hongming <talonwan@yunify.com>
2020-05-04 23:53:57 +08:00
Duan Jiong
7e0983ad47 add k8s networkpolicy resource
Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-05-03 09:17:24 +08:00
zryfish
98f44fac99 fix generation bug (#2043) 2020-05-01 13:12:54 +08:00
zryfish
933207d247 add cluster proxy gerneration code (#2042) 2020-04-30 22:33:23 +08:00
Jeff
c62254696c fix openapi schema bug 2020-04-29 20:19:48 +08:00
Jeff
edcec868dc fix merge conflicts 2020-04-29 19:48:40 +08:00
Jeff
4e8e840d1f Merge branch 'dev' 2020-04-29 19:20:59 +08:00
KubeSphere CI Bot
566ed4d4b9 Merge pull request #2012 from duanjiong/network-policy
Network policy
2020-04-29 10:44:27 +08:00
hongming
8976ee242f remove useless go moudle
Signed-off-by: hongming <talonwan@yunify.com>
2020-04-29 10:28:25 +08:00
Duan Jiong
4fb9d84fea allow dns traffic and host node traffic
Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:21:58 +08:00
Duan Jiong
1ab7d67e51 allow ip/port in service when config service nsnp
Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:21:58 +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
Duan Jiong
fc373b18e3 update workspace spec
Add field networkIsolate in workspace spec, in order to support workspace network isolate

Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:06:54 +08:00
Duan Jiong
26d014302e namespace: add namespace label
in order to select namespace when convert nsnp to k8snp

Signed-off-by: Duan Jiong <djduanjiong@gmail.com>
2020-04-28 10:06:53 +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