공부/Kubernetes

    [k8s] node-shell (Github Plugins)

    node-shell 이란 kubernetes node 에 접속하는 깃허브 플러그인이다. 워커노드, 인그레스노드에 접근이 가능하고 root 권한으로 실행이 가능하다. krew 설치하기 node-shell 을 설치하기 위해선 krew 를 통해 설치해야하고 krew 설치를 위해 xcode-select 를 설치해준다. # krew 설치하기 $ brew install krew # krew에 kvaps 추가 $ kubectl krew index add kvaps https://github.com/kvaps/krew-index node-shell 설치하기 # node-shell을 설치한다. $ kubectl krew install kvaps/node-shell 해당 명령어를 사용하여 설치할 때 다음과 같은 내용이 나..

    [Kafka] class is not in the trusted packages.

    class is not in the trusted packages 에러는 아마 intellij에서 producer랑 consumer를 모듈로 각각분리해서 entity도 개별적으로 존재? 하는 상황일 것이다 (consumer와 producer의 entity의 package fullname이 다를경우) 예를들어 producer쪽 entity의 package를 포함한 fullname이 zzz.xxx.producer.MyEntity 이고 consumer쪽 entity의 package를 포함한 fullname이 zzz.xxx.consumer.MyEntity 라면 consumer쪽의 JsonDeserializer에서 class is not in the trusted packages 에러를 뿜뿜할 것이다. 왜냐면 직..