I deployed operator through skywalking-swck-0.1.0-bin.tgz and it worked
very well.
Here are my test steps:
$ kubectl apply -f config/ # replace apache/skywalking-swck :1.0.0 with
local image
customresourcedefinition.apiextensions.k8s.io/oapservers.operator.skywalking.apache.org
created
namespace/skywalking-swck-system created
customresourcedefinition.apiextensions.k8s.io/oapservers.operator.skywalking.apache.org
configured
role.rbac.authorization.k8s.io/skywalking-swck-leader-election-role created
clusterrole.rbac.authorization.k8s.io/skywalking-swck-manager-role created
clusterrole.rbac.authorization.k8s.io/skywalking-swck-proxy-role created
clusterrole.rbac.authorization.k8s.io/skywalking-swck-metrics-reader created
rolebinding.rbac.authorization.k8s.io/skywalking-swck-leader-election-rolebinding
created
clusterrolebinding.rbac.authorization.k8s.io/skywalking-swck-manager-rolebinding
created
clusterrolebinding.rbac.authorization.k8s.io/skywalking-swck-proxy-rolebinding
created
service/skywalking-swck-controller-manager-metrics-service created
deployment.apps/skywalking-swck-controller-manager created
$ kubectl get all -n skywalking-swck-system
NAME READY STATUS
RESTARTS AGE
pod/skywalking-swck-controller-manager-6654865774-nwcj6 2/2 Running
0 12m
NAME TYPE
CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/skywalking-swck-controller-manager-metrics-service ClusterIP
10.109.25.115 <none> 8443/TCP 14m
NAME READY UP-TO-DATE
AVAILABLE AGE
deployment.apps/skywalking-swck-controller-manager 1/1 1 1
14m
NAME DESIRED
CURRENT READY AGE
replicaset.apps/skywalking-swck-controller-manager-6654865774 1 1
1 12m
replicaset.apps/skywalking-swck-controller-manager-74d6df95bc 0 0
0 14m
$ vim oap.yaml & kubectl apply -f oap.yaml
apiVersion: operator.skywalking.apache.org/v1alpha1
kind: OAPServer
metadata:
name: demo
spec:
version: 8.1.0
instances: 1
config:
- name: SW_STORAGE
value: h2
$ kubectl get oapserver
NAME INSTANCES RUNNING ADDRESS
demo 1 1 demo.default
$ kubectl get all
NAME READY STATUS RESTARTS AGE
pod/demo-5d6bbbbf94-qqxgr 1/1 Running 0 10m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
AGE
service/demo ClusterIP 10.108.53.194 <none>
11800/TCP,12800/TCP 10m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/demo 1/1 1 1 10m
NAME DESIRED CURRENT READY AGE
replicaset.apps/demo-5d6bbbbf94 1 1 1 10m
--
Wei Zhang 张伟
Github, @arugal
Hongtao Gao <[email protected]> 于2020年11月9日周一 下午4:22写道:
> Hi, SkyWalking Community:
>
> The test build of SkyWalking Could on Kubernetes 0.1.0 is now available.
>
> We welcome any comments you may have, and will take all feedback into
> account if a quality vote is called for this build.
>
> Release notes:
>
> * https://github.com/apache/skywalking-swck/blob/0.1.0/CHANGES.md
>
> Release Candidate:
>
> * https://dist.apache.org/repos/dist/dev/skywalking/swck/0.1.0
> * sha512 checksums
> -
>
> 2795e6374dd12da7f551ffa71c328a1dcb4f0aa6b6c18e9ac714fd32d09f5a267113030dd06796554cad8f2f0dae0dbc38f9fdaa3cf237c9da40b2b451b53109
> apache-skywalking-swck-bin-0.1.0.tgz
> -
>
> b756e2cc225f1672faf3a80cd7436b2fa65143499e2980b455765b14f2017628f8ac73fd976f143200c03de7488f9269b6fa6fa06e97393cf99638acfe39ba1b
> apache-skywalking-swck-src-0.1.0.tgz
>
> Release Tag :
>
> * 0.1.0
>
> Release Commit Hash :
>
> * https://github.com/apache/skywalking-swck/tree/
> a6a76efeb2e55039c440d4bc62831568bc83fba8
>
> Keys to verify the Release Candidate :
>
> * https://dist.apache.org/repos/dist/release/skywalking/KEYS
>
> Guide to build the release from source :
>
> * https://github.com/apache/skywalking-swck/blob/0.1.0/docs/release.md
>
> A vote regarding the quality of this test build will be initiated
> within the next couple of days.
>
> --
> Hongtao Gao
>
> Apache SkyWalking && Apache ShardingSphere
> Twitter, @hanahmily
>