powershell의 az cli를 통해 aks에 접속하는 방법

2022. 4. 5. 22:49·CLOUD/Azure Cloud

https://www.ntweekly.com/2020/11/17/how-to-connect-to-an-azure-kubernetes-service-aks-cluster-with-azure-cli-and-kubectl/

 

How To Connect to an Azure Kubernetes Service (AKS) Cluster With Azure CLI and Kubectl

In this blog post, I will show you how to connect to an Azure Kubernetes Service (AKS) cluster using Azure CLI and run Kubectl commands.

www.ntweekly.com

 

ㄴ여기서 kubectl 커맨드 권한을 획득하고

 

kubectl get pods 한 다음에 들어갈 pod 확인하고

kubectl exec -it dddd -- /bin/bash 하면 됨!

 

아래 명령어는 pod이 없을 때, pod 만들어서 하는거임 그냥.

 

https://docs.microsoft.com/en-us/azure/aks/node-access

ㄴ 여기서 kubernetes cluster 내에 shell을 위한 pod을 하나 띄운다.

 

pod을 다 쓰고 난 후에는 pod을 지워줘야 한다.

https://docs.microsoft.com/en-us/azure/aks/node-access

 

 

저작자표시 비영리

'CLOUD > Azure Cloud' 카테고리의 다른 글

Azure Database 차이 (공부 해야됨)  (0) 2022.04.21
[22.07.26 업뎃] Cache for disks on Azure (태훈 씨 - SQL 서버) [+디스크 캐싱의 용도 마침내 확인]  (0) 2022.04.11
Resource 생성할 때, 네이밍 규칙 잘 지켜야댐...  (0) 2022.04.05
Private endpoint의 Private IP는 동적이지만 변하지 않는다..(????!!)  (0) 2022.04.01
SQL MI DB는 static ip를 가질 수 없다  (0) 2022.04.01
'CLOUD/Azure Cloud' 카테고리의 다른 글
  • Azure Database 차이 (공부 해야됨)
  • [22.07.26 업뎃] Cache for disks on Azure (태훈 씨 - SQL 서버) [+디스크 캐싱의 용도 마침내 확인]
  • Resource 생성할 때, 네이밍 규칙 잘 지켜야댐...
  • Private endpoint의 Private IP는 동적이지만 변하지 않는다..(????!!)
Hojae Lee
Hojae Lee
Solutions Architect
  • Hojae Lee
    기억력이 금붕어라
    Hojae Lee
  • 전체
    오늘
    어제
  • 공지사항

    • 참고사항
    • 이 블로그를 잘 활용하는 방법
    • my linkedin
    • 분류 전체보기 (404)
      • Career Path (19)
        • My Achievements (10)
        • About Career (1)
      • Projects for $100 (1)
      • CLOUD (183)
        • Azure Cloud (61)
        • AWS Cloud (120)
      • System Engineering (91)
        • Kubernetes (48)
        • Docker (0)
        • System Design (4)
        • DevOps (2)
        • SRE (5)
        • git (1)
        • 리눅스, 라즈베리파이 (17)
        • Powershell (2)
      • Computer Science (70)
        • Operating System (22)
        • Computer Architecture (5)
        • Network (18)
        • Database (13)
        • Security (9)
        • Machine Learning, AI (1)
      • Cloud Webinar (4)
        • AWS Summit (4)
      • 3D 프린터 (1)
      • IaC (4)
        • CloudFormation (0)
        • Terraform (4)
      • 아두이노 (임베디드) (2)
      • 개발자의 전기 전자 공부 (3)
      • 이전 직장 (11)
        • TMAX Soft (11)
      • 작업 환경 셋업 (3)
  • 최근 댓글

  • hELLO· Designed By정상우.v4.10.3
Hojae Lee
powershell의 az cli를 통해 aks에 접속하는 방법
상단으로

티스토리툴바