cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PodDisruptionBudget apiVersion policy v1 is not supported by K8s v1.19

vinaykd
Newcomer

Hi

I am trying to install dynatrace operator but looks like the PodDisruptionBudget apiVersion policy v1 is not supported by k8s v1.19.

vinaykd_0-1701069692034.png

I have tried to change the apiVersion to policy/v1beta1 and it worked. But the pods are in crashloopbackoff state

vinaykd_1-1701069839571.png

Please find the below logs of operator pod

runtime/cgo: pthread_create failed: Operation not permitted
SIGABRT: abort
PC=0x1aba46b m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: g 0: unknown pc 0x1aba46b
stack: frame={sp:0x7ffd5ad61640, fp:0x0} stack=[0x7ffd5a562ac0,0x7ffd5ad61ad0)
0x00007ffd5ad61540: 0x0000000000067d16 0x00007ffd5ad61568
0x00007ffd5ad61550: 0x0000000001b10720 0x000000001c000004
0x00007ffd5ad61560: 0x0000000001aa7520 0x0000000000000000
0x00007ffd5ad61570: 0x00007f8a01adb0b0 0x680000000338fe80
0x00007ffd5ad61580: 0x000000c000064000 0x000000c000150000
0x00007ffd5ad61590: 0x0000000000000000 0x0000000000000000
0x00007ffd5ad615a0: 0x0000000000000000 0x0000000000000000
0x00007ffd5ad615b0: 0x0000000000000001 0x000000c000064000
0x00007ffd5ad615c0: 0x00007ffd5ad617a8 0x0000000001ae460d
0x00007ffd5ad615d0: 0x00007f8a01ada6c0 0x00007ffd5ad61850
0x00007ffd5ad615e0: 0x00007ffd5ad616f6 0x0000000000000000
0x00007ffd5ad615f0: 0x00007ffd5ad616f7 0x0000000001ab87f0
0x00007ffd5ad61600: 0x00007f8a01adb008 0x0000000000000110
0x00007ffd5ad61610: 0x00000000003d0f00 0x0000000001ae2034
0x00007ffd5ad61620: 0x00007f8a01ada990 0x000000000000000d
0x00007ffd5ad61630: 0x0000000002387108 0x0000000001aba45e
0x00007ffd5ad61640: <0x0000000000800300 <github.com/json-iterator/go.writeStringSlowPath+0x0000000000000140> 0x4b47ea8891fd9300
0x00007ffd5ad61650: 0x0000000000000006 0x000000000399c3c0
0x00007ffd5ad61660: 0x00007ffd5ad61910 0x0000000000000000
0x00007ffd5ad61670: 0x000000000338f460 0x0000000001aa74b2
0x00007ffd5ad61680: 0x00000000033c14e0 0x0000000000401390
0x00007ffd5ad61690: 0x0000000000000020 0x00000000032f0763
0x00007ffd5ad616a0: 0x0000000000000828 0x0000000001ab2741
0x00007ffd5ad616b0: 0x000000000337c620 0x0000000000000001
0x00007ffd5ad616c0: 0x000000000000000a 0x000000000399c3c0
0x00007ffd5ad616d0: 0x0000000000000000 0x000000000338f460
0x00007ffd5ad616e0: 0x0000000000000006 0x0000000001ab4039
0x00007ffd5ad616f0: 0x00000000032f06e0 0x0000000001ab47e3
0x00007ffd5ad61700: 0x00000000032f06e0 0x000000000000000a
0x00007ffd5ad61710: 0x000000000399c3c0 0x0000000001ab1f6a
0x00007ffd5ad61720: 0x00000000032f0c68 0x4b47ea8891fd9300
0x00007ffd5ad61730: 0x00000000032f0c68 0x00000000032f0c68
runtime: g 0: unknown pc 0x1aba46b
stack: frame={sp:0x7ffd5ad61640, fp:0x0} stack=[0x7ffd5a562ac0,0x7ffd5ad61ad0)
0x00007ffd5ad61540: 0x0000000000067d16 0x00007ffd5ad61568
0x00007ffd5ad61550: 0x0000000001b10720 0x000000001c000004
0x00007ffd5ad61560: 0x0000000001aa7520 0x0000000000000000
0x00007ffd5ad61570: 0x00007f8a01adb0b0 0x680000000338fe80
0x00007ffd5ad61580: 0x000000c000064000 0x000000c000150000
0x00007ffd5ad61590: 0x0000000000000000 0x0000000000000000
0x00007ffd5ad615a0: 0x0000000000000000 0x0000000000000000
0x00007ffd5ad615b0: 0x0000000000000001 0x000000c000064000
0x00007ffd5ad615c0: 0x00007ffd5ad617a8 0x0000000001ae460d
0x00007ffd5ad615d0: 0x00007f8a01ada6c0 0x00007ffd5ad61850
0x00007ffd5ad615e0: 0x00007ffd5ad616f6 0x0000000000000000
0x00007ffd5ad615f0: 0x00007ffd5ad616f7 0x0000000001ab87f0
0x00007ffd5ad61600: 0x00007f8a01adb008 0x0000000000000110
0x00007ffd5ad61610: 0x00000000003d0f00 0x0000000001ae2034
0x00007ffd5ad61620: 0x00007f8a01ada990 0x000000000000000d
0x00007ffd5ad61630: 0x0000000002387108 0x0000000001aba45e
0x00007ffd5ad61640: <0x0000000000800300 <github.com/json-iterator/go.writeStringSlowPath+0x0000000000000140> 0x4b47ea8891fd9300
0x00007ffd5ad61650: 0x0000000000000006 0x000000000399c3c0
0x00007ffd5ad61660: 0x00007ffd5ad61910 0x0000000000000000
0x00007ffd5ad61670: 0x000000000338f460 0x0000000001aa74b2
0x00007ffd5ad61680: 0x00000000033c14e0 0x0000000000401390
0x00007ffd5ad61690: 0x0000000000000020 0x00000000032f0763
0x00007ffd5ad616a0: 0x0000000000000828 0x0000000001ab2741
0x00007ffd5ad616b0: 0x000000000337c620 0x0000000000000001
0x00007ffd5ad616c0: 0x000000000000000a 0x000000000399c3c0
0x00007ffd5ad616d0: 0x0000000000000000 0x000000000338f460
0x00007ffd5ad616e0: 0x0000000000000006 0x0000000001ab4039
0x00007ffd5ad616f0: 0x00000000032f06e0 0x0000000001ab47e3
0x00007ffd5ad61700: 0x00000000032f06e0 0x000000000000000a
0x00007ffd5ad61710: 0x000000000399c3c0 0x0000000001ab1f6a
0x00007ffd5ad61720: 0x00000000032f0c68 0x4b47ea8891fd9300
0x00007ffd5ad61730: 0x00000000032f0c68 0x00000000032f0c68

goroutine 1 [running]:
runtime.systemstack_switch()
runtime/asm_amd64.s:474 +0x8 fp=0xc00014a740 sp=0xc00014a730 pc=0x471048
runtime.main()
runtime/proc.go:169 +0x6d fp=0xc00014a7e0 sp=0xc00014a740 pc=0x43f68d
runtime.goexit()
runtime/asm_amd64.s:1650 +0x1 fp=0xc00014a7e8 sp=0xc00014a7e0 pc=0x473021

rax 0x0
rbx 0x1
rcx 0xffffffffffffffff
rdx 0x6
rdi 0x1
rsi 0x1
rbp 0x6
rsp 0x7ffd5ad61640
r8 0x0
r9 0x0
r10 0x8
r11 0x246
r12 0x7ffd5ad61910
r13 0x0
r14 0x338f460
r15 0x6
rip 0x1aba46b
rflags 0x246
cs 0x33
fs 0x0
gs 0x0

3 REPLIES 3

Mizső
DynaMight Leader
DynaMight Leader

Hi @vinaykd,

It is quite old kubernetes version. Please check this link, maybe you can find some useful information regarding the recommended version of dynatrace operator (v.0.6.0) for this kubernetes verison.

Dynatrace support lifecycle for Kubernetes and Red Hat OpenShift Full-Stack Monitoring - Dynatrace D...

I hope it helps.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

vinaykd
Newcomer

Hi Mizso, Thanks for the response. I have installed the 0.6 v. Now I am not getting this error anymore.

I am following the documentation -  Get started with Full observability (classic full stack deployment) - Dynatrace Docs

I have applied the manifest for creating dynacube, but its failing because of the this - 

vinaykd_0-1701080621373.png

Even though I have created the secrets with the name dynacube why it is trying to match secret name with dynatrace

 

Mizső
DynaMight Leader
DynaMight Leader

Hi @vinaykd,

I do not remember for this operator vesrion exactly. Have you tried dynakube instead of dynacube?

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts