美文网首页
tekton install process

tekton install process

作者: 与狼共舞666 | 来源:发表于2022-03-04 02:03 被阅读0次
[root@master1 20220203]# kubectl apply -f release.yaml 
namespace/tekton-pipelines created
podsecuritypolicy.policy/tekton-pipelines created
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access created
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-controller-tenant-access created
clusterrole.rbac.authorization.k8s.io/tekton-pipelines-webhook-cluster-access created
role.rbac.authorization.k8s.io/tekton-pipelines-controller created
role.rbac.authorization.k8s.io/tekton-pipelines-webhook created
role.rbac.authorization.k8s.io/tekton-pipelines-leader-election created
serviceaccount/tekton-pipelines-controller created
serviceaccount/tekton-pipelines-webhook created
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-cluster-access created
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-tenant-access created
clusterrolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook-cluster-access created
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller created
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook created
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-controller-leaderelection created
rolebinding.rbac.authorization.k8s.io/tekton-pipelines-webhook-leaderelection created
customresourcedefinition.apiextensions.k8s.io/clustertasks.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/conditions.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/pipelines.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/pipelineruns.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/pipelineresources.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/runs.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/tasks.tekton.dev created
customresourcedefinition.apiextensions.k8s.io/taskruns.tekton.dev created
secret/webhook-certs created
validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.pipeline.tekton.dev created
mutatingwebhookconfiguration.admissionregistration.k8s.io/webhook.pipeline.tekton.dev created
validatingwebhookconfiguration.admissionregistration.k8s.io/config.webhook.pipeline.tekton.dev created
clusterrole.rbac.authorization.k8s.io/tekton-aggregate-edit created
clusterrole.rbac.authorization.k8s.io/tekton-aggregate-view created
configmap/config-artifact-bucket created
configmap/config-artifact-pvc created
configmap/config-defaults created
configmap/feature-flags created
configmap/config-leader-election created
configmap/config-logging created
configmap/config-observability created
configmap/config-registry-cert created
deployment.apps/tekton-pipelines-controller created
service/tekton-pipelines-controller created
horizontalpodautoscaler.autoscaling/tekton-pipelines-webhook created
deployment.apps/tekton-pipelines-webhook created
service/tekton-pipelines-webhook created

[root@master1 ~]# kubectl get crd | grep tekton
clustertasks.tekton.dev                        2022-03-03T17:34:22Z
conditions.tekton.dev                          2022-03-03T17:34:22Z
pipelineresources.tekton.dev                   2022-03-03T17:34:23Z
pipelineruns.tekton.dev                        2022-03-03T17:34:22Z
pipelines.tekton.dev                           2022-03-03T17:34:22Z
runs.tekton.dev                                2022-03-03T17:34:23Z
taskruns.tekton.dev                            2022-03-03T17:34:23Z
tasks.tekton.dev                               2022-03-03T17:34:23Z
[root@master1 ~]# kubectl get po -n tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          85s
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          85s
[root@master1 ~]# cd 20220203/
[root@master1 20220203]# 
[root@master1 20220203]# ll
总用量 42328
-rw-r--r-- 1 root root 43269228 12月  9 2020 istio-1.8.1-linux-amd64.tar.gz
-rw-r--r-- 1 root root    72563 5月  11 2021 release.yaml
[root@master1 20220203]# vim helloworld.yaml
[root@master1 20220203]# 
[root@master1 20220203]# kubectl apply -f helloworld.yaml 
task.tekton.dev/hello created
[root@master1 20220203]# kubectl get task
NAME    AGE
hello   20s
[root@master1 20220203]# vim hellorun.yaml
[root@master1 20220203]# 
[root@master1 20220203]# ll
总用量 42336
-rw-r--r-- 1 root root      102 3月   4 01:39 hellorun.yaml
-rw-r--r-- 1 root root      186 3月   4 01:37 helloworld.yaml
-rw-r--r-- 1 root root 43269228 12月  9 2020 istio-1.8.1-linux-amd64.tar.gz
-rw-r--r-- 1 root root    72563 5月  11 2021 release.yaml
[root@master1 20220203]# vim helloworld.yaml 
[root@master1 20220203]# kubectl apply -f hellorun.yaml 
taskrun.tekton.dev/hello created
[root@master1 20220203]# kubectl get taskruns.tekton.dev
NAME    SUCCEEDED   REASON   STARTTIME   COMPLETIONTIME
hello                                    
[root@master1 20220203]# kubectl get po
NAME                                 READY   STATUS             RESTARTS   AGE
awx-7dd6666bcf-qljrk                 4/4     Running            12         93d
awx-operator-5447f76bb6-hrm75        0/1     CrashLoopBackOff   11         40m
awx-operator-5447f76bb6-lnzxx        1/1     Terminating        6          93d
awx-postgres-0                       1/1     Terminating        3          93d
details-v1-558b8b4b76-78dq8          1/1     Running            0          40m
details-v1-558b8b4b76-b6q75          1/1     Terminating        0          10h
frontend-7859cb7448-t77p4            0/1     Pending            0          40m
frontend-7859cb7448-zf2hp            1/1     Terminating        7          123d
hello-world-5b6dbf494f-mpx6m         1/1     Running            7          125d
kubernetes-bootcamp-84b6c9f4-78xqn   1/1     Running            7          127d
productpage-v1-6987489c74-xdvhp      1/1     Running            0          40m
productpage-v1-6987489c74-zf9jb      1/1     Terminating        0          10h
ratings-v1-7dc98c7588-kjjjd          1/1     Running            0          40m
ratings-v1-7dc98c7588-prlz7          1/1     Terminating        0          10h
redis-follower-86bf5d4dfb-bxwtd      1/1     Running            7          123d
redis-leader-8695b4545d-v5c7x        1/1     Running            7          123d
reviews-v1-7f99cc4496-54nmp          1/1     Running            0          40m
reviews-v1-7f99cc4496-zr2dn          1/1     Terminating        0          10h
reviews-v2-7d79d5bd5d-5k6gc          1/1     Running            0          10h
reviews-v3-7dbcdcbc56-wnvzc          1/1     Running            0          40m
reviews-v3-7dbcdcbc56-xglw5          1/1     Terminating        0          10h
source-ip-app-84b64fbcc6-5t8bt       1/1     Running            7          127d
[root@master1 20220203]# kubectl logs hello-world-5b6dbf494f-mpx6m
Running on http://localhost:8080
[root@master1 20220203]# 
[root@master1 20220203]# ll
总用量 42336
-rw-r--r-- 1 root root      102 3月   4 01:39 hellorun.yaml
-rw-r--r-- 1 root root      186 3月   4 01:37 helloworld.yaml
-rw-r--r-- 1 root root 43269228 12月  9 2020 istio-1.8.1-linux-amd64.tar.gz
-rw-r--r-- 1 root root    72563 5月  11 2021 release.yaml
[root@master1 20220203]# vim helloworld.yaml 
[root@master1 20220203]# kubectl get tasksruns.tekton.dev
error: the server doesn't have a resource type "tasksruns"
[root@master1 20220203]# kubectl get taskruns.tekton.dev
NAME    SUCCEEDED   REASON   STARTTIME   COMPLETIONTIME
hello                                    
[root@master1 20220203]# kubectl get po 
NAME                                 READY   STATUS             RESTARTS   AGE
awx-7dd6666bcf-qljrk                 4/4     Running            12         93d
awx-operator-5447f76bb6-hrm75        0/1     CrashLoopBackOff   15         51m
awx-operator-5447f76bb6-lnzxx        1/1     Terminating        6          93d
awx-postgres-0                       1/1     Terminating        3          93d
details-v1-558b8b4b76-78dq8          1/1     Running            0          51m
details-v1-558b8b4b76-b6q75          1/1     Terminating        0          10h
frontend-7859cb7448-t77p4            0/1     Pending            0          51m
frontend-7859cb7448-zf2hp            1/1     Terminating        7          123d
hello-world-5b6dbf494f-mpx6m         1/1     Running            7          125d
kubernetes-bootcamp-84b6c9f4-78xqn   1/1     Running            7          127d
productpage-v1-6987489c74-xdvhp      1/1     Running            0          51m
productpage-v1-6987489c74-zf9jb      1/1     Terminating        0          10h
ratings-v1-7dc98c7588-kjjjd          1/1     Running            0          51m
ratings-v1-7dc98c7588-prlz7          1/1     Terminating        0          10h
redis-follower-86bf5d4dfb-bxwtd      1/1     Running            7          123d
redis-leader-8695b4545d-v5c7x        1/1     Running            7          123d
reviews-v1-7f99cc4496-54nmp          1/1     Running            0          51m
reviews-v1-7f99cc4496-zr2dn          1/1     Terminating        0          10h
reviews-v2-7d79d5bd5d-5k6gc          1/1     Running            0          10h
reviews-v3-7dbcdcbc56-wnvzc          1/1     Running            0          51m
reviews-v3-7dbcdcbc56-xglw5          1/1     Terminating        0          10h
source-ip-app-84b64fbcc6-5t8bt       1/1     Running            7          127d
[root@master1 20220203]# kubectl get po -A
NAMESPACE              NAME                                           READY   STATUS             RESTARTS   AGE
default                awx-7dd6666bcf-qljrk                           4/4     Running            12         93d
default                awx-operator-5447f76bb6-hrm75                  0/1     CrashLoopBackOff   15         52m
default                awx-operator-5447f76bb6-lnzxx                  1/1     Terminating        6          93d
default                awx-postgres-0                                 1/1     Terminating        3          93d
default                details-v1-558b8b4b76-78dq8                    1/1     Running            0          52m
default                details-v1-558b8b4b76-b6q75                    1/1     Terminating        0          10h
default                frontend-7859cb7448-t77p4                      0/1     Pending            0          52m
default                frontend-7859cb7448-zf2hp                      1/1     Terminating        7          123d
default                hello-world-5b6dbf494f-mpx6m                   1/1     Running            7          125d
default                kubernetes-bootcamp-84b6c9f4-78xqn             1/1     Running            7          127d
default                productpage-v1-6987489c74-xdvhp                1/1     Running            0          52m
default                productpage-v1-6987489c74-zf9jb                1/1     Terminating        0          10h
default                ratings-v1-7dc98c7588-kjjjd                    1/1     Running            0          52m
default                ratings-v1-7dc98c7588-prlz7                    1/1     Terminating        0          10h
default                redis-follower-86bf5d4dfb-bxwtd                1/1     Running            7          123d
default                redis-leader-8695b4545d-v5c7x                  1/1     Running            7          123d
default                reviews-v1-7f99cc4496-54nmp                    1/1     Running            0          52m
default                reviews-v1-7f99cc4496-zr2dn                    1/1     Terminating        0          10h
default                reviews-v2-7d79d5bd5d-5k6gc                    1/1     Running            0          10h
default                reviews-v3-7dbcdcbc56-wnvzc                    1/1     Running            0          52m
default                reviews-v3-7dbcdcbc56-xglw5                    1/1     Terminating        0          10h
default                source-ip-app-84b64fbcc6-5t8bt                 1/1     Running            7          127d
heptio-contour         contour-69fbf49d56-9m2gw                       2/2     Running            0          52m
heptio-contour         contour-69fbf49d56-qldxc                       2/2     Terminating        7          93d
heptio-contour         contour-69fbf49d56-szpxv                       2/2     Running            8          93d
ingress-nginx          nginx-ingress-controller-566f7449cd-cnwnh      1/1     Terminating        3          87d
ingress-nginx          nginx-ingress-controller-566f7449cd-fbpbd      0/1     Pending            0          52m
istio-system           grafana-94f5bf75b-52kl5                        1/1     Terminating        0          11h
istio-system           grafana-94f5bf75b-r2sfb                        1/1     Running            0          52m
istio-system           istio-egressgateway-6f9f4ddc9c-bp7lb           1/1     Terminating        0          11h
istio-system           istio-egressgateway-6f9f4ddc9c-sqlzs           1/1     Running            0          52m
istio-system           istio-ingressgateway-78b47bc88b-4rws5          1/1     Running            0          52m
istio-system           istio-ingressgateway-78b47bc88b-kc2mb          1/1     Terminating        0          11h
istio-system           istiod-67dbfcd4dd-2wmsp                        1/1     Terminating        0          11h
istio-system           istiod-67dbfcd4dd-p7dnv                        1/1     Running            0          52m
istio-system           jaeger-5c7675974-4pncp                         1/1     Terminating        0          11h
istio-system           jaeger-5c7675974-v5tv5                         1/1     Running            0          52m
istio-system           kiali-667b888c56-ggpl5                         1/1     Running            0          52m
istio-system           kiali-667b888c56-trsbl                         1/1     Terminating        0          11h
istio-system           prometheus-7d76687994-k6mx7                    2/2     Terminating        0          11h
istio-system           prometheus-7d76687994-tsmsd                    2/2     Running            0          52m
kube-system            calico-kube-controllers-84445dd79f-sdvps       1/1     Running            11         205d
kube-system            calico-node-f9xlp                              1/1     Running            11         205d
kube-system            calico-node-l66sk                              1/1     Running            11         205d
kube-system            calico-node-nmrj5                              1/1     Running            11         205d
kube-system            coredns-66bff467f8-gs2dx                       1/1     Running            11         205d
kube-system            coredns-66bff467f8-h9pt6                       1/1     Running            11         205d
kube-system            etcd-master1                                   1/1     Running            13         205d
kube-system            kube-apiserver-master1                         1/1     Running            15         205d
kube-system            kube-controller-manager-master1                1/1     Running            40         205d
kube-system            kube-proxy-2gs5x                               1/1     Running            11         205d
kube-system            kube-proxy-gzdt6                               1/1     Running            11         205d
kube-system            kube-proxy-xh7vq                               1/1     Running            11         205d
kube-system            kube-scheduler-master1                         1/1     Running            40         205d
kube-system            kube-sealyun-lvscare-node1                     1/1     Running            12         205d
kube-system            kube-sealyun-lvscare-node2                     1/1     Running            12         205d
kube-system            kuboard-5664848d64-9b2m6                       1/1     Running            10         174d
kubernetes-dashboard   dashboard-metrics-scraper-694557449d-4j7sl     1/1     Running            10         174d
kubernetes-dashboard   kubernetes-dashboard-6884f4bc87-qbcb6          1/1     Running            15         174d
tekton-pipelines       tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          19m
tekton-pipelines       tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          19m
[root@master1 20220203]# kubectl get po -A
NAMESPACE              NAME                                           READY   STATUS             RESTARTS   AGE
default                awx-7dd6666bcf-qljrk                           4/4     Running            12         93d
default                awx-operator-5447f76bb6-hrm75                  0/1     CrashLoopBackOff   15         53m
default                awx-operator-5447f76bb6-lnzxx                  1/1     Terminating        6          93d
default                awx-postgres-0                                 1/1     Terminating        3          93d
default                details-v1-558b8b4b76-78dq8                    1/1     Running            0          53m
default                details-v1-558b8b4b76-b6q75                    1/1     Terminating        0          10h
default                frontend-7859cb7448-t77p4                      0/1     Pending            0          53m
default                frontend-7859cb7448-zf2hp                      1/1     Terminating        7          123d
default                hello-world-5b6dbf494f-mpx6m                   1/1     Running            7          125d
default                kubernetes-bootcamp-84b6c9f4-78xqn             1/1     Running            7          127d
default                productpage-v1-6987489c74-xdvhp                1/1     Running            0          53m
default                productpage-v1-6987489c74-zf9jb                1/1     Terminating        0          10h
default                ratings-v1-7dc98c7588-kjjjd                    1/1     Running            0          53m
default                ratings-v1-7dc98c7588-prlz7                    1/1     Terminating        0          10h
default                redis-follower-86bf5d4dfb-bxwtd                1/1     Running            7          123d
default                redis-leader-8695b4545d-v5c7x                  1/1     Running            7          123d
default                reviews-v1-7f99cc4496-54nmp                    1/1     Running            0          53m
default                reviews-v1-7f99cc4496-zr2dn                    1/1     Terminating        0          10h
default                reviews-v2-7d79d5bd5d-5k6gc                    1/1     Running            0          10h
default                reviews-v3-7dbcdcbc56-wnvzc                    1/1     Running            0          53m
default                reviews-v3-7dbcdcbc56-xglw5                    1/1     Terminating        0          10h
default                source-ip-app-84b64fbcc6-5t8bt                 1/1     Running            7          127d
heptio-contour         contour-69fbf49d56-9m2gw                       2/2     Running            0          53m
heptio-contour         contour-69fbf49d56-qldxc                       2/2     Terminating        7          93d
heptio-contour         contour-69fbf49d56-szpxv                       2/2     Running            8          93d
ingress-nginx          nginx-ingress-controller-566f7449cd-cnwnh      1/1     Terminating        3          87d
ingress-nginx          nginx-ingress-controller-566f7449cd-fbpbd      0/1     Pending            0          53m
istio-system           grafana-94f5bf75b-52kl5                        1/1     Terminating        0          11h
istio-system           grafana-94f5bf75b-r2sfb                        1/1     Running            0          53m
istio-system           istio-egressgateway-6f9f4ddc9c-bp7lb           1/1     Terminating        0          11h
istio-system           istio-egressgateway-6f9f4ddc9c-sqlzs           1/1     Running            0          53m
istio-system           istio-ingressgateway-78b47bc88b-4rws5          1/1     Running            0          53m
istio-system           istio-ingressgateway-78b47bc88b-kc2mb          1/1     Terminating        0          11h
istio-system           istiod-67dbfcd4dd-2wmsp                        1/1     Terminating        0          11h
istio-system           istiod-67dbfcd4dd-p7dnv                        1/1     Running            0          53m
istio-system           jaeger-5c7675974-4pncp                         1/1     Terminating        0          11h
istio-system           jaeger-5c7675974-v5tv5                         1/1     Running            0          53m
istio-system           kiali-667b888c56-ggpl5                         1/1     Running            0          53m
istio-system           kiali-667b888c56-trsbl                         1/1     Terminating        0          11h
istio-system           prometheus-7d76687994-k6mx7                    2/2     Terminating        0          11h
istio-system           prometheus-7d76687994-tsmsd                    2/2     Running            0          53m
kube-system            calico-kube-controllers-84445dd79f-sdvps       1/1     Running            11         205d
kube-system            calico-node-f9xlp                              1/1     Running            11         205d
kube-system            calico-node-l66sk                              1/1     Running            11         205d
kube-system            calico-node-nmrj5                              1/1     Running            11         205d
kube-system            coredns-66bff467f8-gs2dx                       1/1     Running            11         205d
kube-system            coredns-66bff467f8-h9pt6                       1/1     Running            11         205d
kube-system            etcd-master1                                   1/1     Running            13         205d
kube-system            kube-apiserver-master1                         1/1     Running            15         205d
kube-system            kube-controller-manager-master1                1/1     Running            40         205d
kube-system            kube-proxy-2gs5x                               1/1     Running            11         205d
kube-system            kube-proxy-gzdt6                               1/1     Running            11         205d
kube-system            kube-proxy-xh7vq                               1/1     Running            11         205d
kube-system            kube-scheduler-master1                         1/1     Running            40         205d
kube-system            kube-sealyun-lvscare-node1                     1/1     Running            12         205d
kube-system            kube-sealyun-lvscare-node2                     1/1     Running            12         205d
kube-system            kuboard-5664848d64-9b2m6                       1/1     Running            10         174d
kubernetes-dashboard   dashboard-metrics-scraper-694557449d-4j7sl     1/1     Running            10         174d
kubernetes-dashboard   kubernetes-dashboard-6884f4bc87-qbcb6          1/1     Running            15         174d
tekton-pipelines       tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          21m
tekton-pipelines       tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          21m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          24m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          24m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          24m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          24m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          25m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          25m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          25m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          25m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          25m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          25m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          25m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          25m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          25m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          25m
[root@master1 20220203]# kubectl get pods --namespace tekton-pipelines
NAME                                           READY   STATUS             RESTARTS   AGE
tekton-pipelines-controller-668585dcf9-rlghl   0/1     ImagePullBackOff   0          25m
tekton-pipelines-webhook-55f6bc67cc-78bjx      0/1     Pending            0          25m

相关文章

网友评论

      本文标题:tekton install process

      本文链接:https://www.haomeiwen.com/subject/nvjprrtx.html