You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "kezhenxu94 (via GitHub)" <gi...@apache.org> on 2023/06/28 03:31:59 UTC
[GitHub] [skywalking] kezhenxu94 commented on issue #4938: table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.
kezhenxu94 commented on issue #4938:
URL: https://github.com/apache/skywalking/issues/4938#issuecomment-1610632951
> My steps to fix this issue if you using Helm to install skywalking
>
> 1. Get skywalking-oap-init Job template
>
> - execute: `helm template skywalking oci://registry-1.docker.io/apache/skywalking-helm -n skywalking > manifest.yaml`
>
> 2. Extract Job from manifest.yaml
>
> - in manifest.yaml, search for "kind: Job" and copy entire Job manifest to new file called: init-oap.yaml
>
> <img width="1020" alt="Screenshot 2023-06-28 at 09 10 00" src="https://github.com/apache/skywalking/assets/37374066/4af8cd63-a439-4601-a3d4-09a208c94aca">
>
>
>
> - Delete old job if it existed: `kubectl delete -f init-oap.yaml -n skywalking`
>
> - Execute the job: `kubectl create -f init-oap.yaml -n skywalking`
>
>
>
> 3. Lastly, restart oap service pods. And voila, sky walking is back.
>
>
>
> This solution is just temporary fix and it will happen next time when k8s got restarted
No need to do so now. The init job will be executed on installation and upgrade now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org