tektoncd / website

Tekton Website
https://tekton.dev
Apache License 2.0
62 stars 149 forks source link

Update tasks.md for bumping kubernetes version to minimum requirement. #565

Closed minhoryang closed 8 months ago

minhoryang commented 8 months ago

Changes

$ minikube start --kubernetes-version v1.24.4 --driver docker
$ kubectl apply --filename \
https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
$ kubectl get pods --namespace tekton-pipelines --watch
NAME                                           READY   STATUS              RESTARTS      AGE
tekton-events-controller-77f545999b-8ptt4      0/1     ContainerCreating   0             82s
tekton-pipelines-controller-5886b486bd-n2lb7   0/1     CrashLoopBackOff    1 (18s ago)   82s
tekton-pipelines-webhook-846fd9b64d-ngtj9      0/1     ContainerCreating   0             82s
tekton-pipelines-controller-5886b486bd-n2lb7   0/1     Error               2 (21s ago)   85s
^C
$ kubectl logs -n tekton-pipelines tekton-pipelines-controller-5886b486bd-n2lb7
2023/10/13 01:29:51 Registering 8 clients
2023/10/13 01:29:51 Registering 5 informer factories
2023/10/13 01:29:51 Registering 8 informers
2023/10/13 01:29:51 Registering 3 controllers
{"level":"info","ts":1697160591.3197494,"logger":"fallback","caller":"cache/cacheclient.go:42","msg":"CACHE CLIENT &{lru:0x4000319e40 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:0 readerWait:0}}"}
2023/10/13 01:29:51 Readiness and health check server listening on port 8080
{"severity":"info","timestamp":"2023-10-13T01:29:51.330Z","logger":"tekton-pipelines-controller","caller":"profiling/server.go:65","message":"Profiling enabled: false","commit":"feb943c"}
{"severity":"fatal","timestamp":"2023-10-13T01:29:51.330Z","logger":"tekton-pipelines-controller","caller":"sharedmain/main.go:386","message":"Version check failed","commit":"feb943c","error":"kubernetes version \"1.24.4\" is not compatible, need at least \"1.25.0-0\" (this can be overridden with the env var \"KUBERNETES_MIN_VERSION\")","stacktrace":"knative.dev/pkg/injection/sharedmain.CheckK8sClientMinimumVersionOrDie\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:386\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20230718152110-aef227e72ead/injection/sharedmain/main.go:256\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/controller/main.go:101\nruntime.main\n\truntime/proc.go:250"}

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you review them:

See the contribution guide for more details.

linux-foundation-easycla[bot] commented 8 months ago

CLA Signed

The committers listed above are authorized under a signed CLA.

tekton-robot commented 8 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AlanGreene

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/tektoncd/website/blob/main/OWNERS)~~ [AlanGreene] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment