리눅스
-
Pod 에 root 권한 주는 법Kubernetes 2023. 7. 1. 17:04
Pod 에서 작업을 하다 보면 `Operation not permitted` 에러가 자주 발생 하는데 root 권한이 없어서 발생하는 것이다. securityContext: privileged: true pod를 올릴 때 securityContext 설정을 해주면 root 권한을 부여 받을 수 있다. 전체 pod yaml 예시 --- apiVersion: v1 kind: Pod metadata: name: csi-rbd-demo-pod spec: containers: - name: web-server image: nginx securityContext: privileged: true volumeMounts: - name: mypvc mountPath: /var/lib/www/html volumes: - ..
-
443포트와 80포트내가 몰랐던 IT 용어 2023. 5. 13. 14:34
443 포트와 80 포트는 모두 인터넷 프로토콜(IP) 기반의 통신에서 사용되는 포트 번호 중에서 가장 많이 사용되는 두 개의 포트이다. 80포트 80 포트는 HTTP(Hyper Text Transfer Protocol) 프로토콜을 사용하는 웹 사이트에서 사용하는 포트 일반적인 웹 페이지 접근 시 자동으로 지정 80 포트를 사용하는 HTTP는 인터넷 상에서 데이터를 암호화하지 않고 전송 443 포트 HTTPS(Hyper Text Transfer Protocol Secure) 프로토콜을 사용하는 웹 사이트에서 사용하는 포트 HTTP와 달리 SSL(Secure Socket Layer) 또는 TLS(Transport Layer Security) 프로토콜을 사용하여 인터넷 상에서 데이터를 암호화하여 전송 이를 ..