Slide 31
Slide 31 text
マスター タイトルの書式設定
3. Operatorの利用 – トラブルシューティング
30
CustomControllerのpodのログでResonciliation loopは成功しているか?
$ kubectl logs pod/test-controller-manager-5cbb545d79-4ltqc -n test-system manager
{"level":"error","ts":16066524354"logger":"controller","msg":"Reconciler error","controller":"test-controller","name":"test-sample","namespace":"default",
error:"failed to install release:rendered manifests contain a resource that already exists.
Unable to continue with install:could not get information about the resource:
configmaps ¥"my-config¥" is forbidden: User ¥"system:serviceaccount:test-system:default¥" cannot get resource ¥"configmaps¥" in API
group ¥"¥" in the namespace ¥"default¥"",
CustomControllerにおける、
Configmapへのget権限が足りてない
CustomControllerがうまく動作しない場合