inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

대세는 쿠버네티스 (초급~중급편)

Volume - 실습

storageOs 설치중에 도저히 모르겠어서 질문 남깁니다 ㅠㅠ

110

미자나다

작성한 질문수 4

1

kubectl apply -f https://github.com/storageos/cluster-operator/releases/download/1.5.0/storageos-operator.yaml

namespace/storageos-operator unchanged

clusterrole.rbac.authorization.k8s.io/storageos-operator configured

serviceaccount/storageoscluster-operator-sa unchanged

deployment.apps/storageos-cluster-operator unchanged

resource mapping not found for name: "storageosclusters.storageos.com" namespace: "" from "https://github.com/storageos/cluster-operator/releases/download/1.5.0/storageos-operator.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

ensure CRDs are installed first

resource mapping not found for name: "storageosupgrades.storageos.com" namespace: "" from "https://github.com/storageos/cluster-operator/releases/download/1.5.0/storageos-operator.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

ensure CRDs are installed first

resource mapping not found for name: "jobs.storageos.com" namespace: "" from "https://github.com/storageos/cluster-operator/releases/download/1.5.0/storageos-operator.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

ensure CRDs are installed first

resource mapping not found for name: "nfsservers.storageos.com" namespace: "" from "https://github.com/storageos/cluster-operator/releases/download/1.5.0/storageos-operator.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

ensure CRDs are installed first

resource mapping not found for name: "storageoscluster-operator-rolebinding" namespace: "" from "https://github.com/storageos/cluster-operator/releases/download/1.5.0/storageos-operator.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"

ensure CRDs are installed first

해당 오류가 StoragesOs Operator 설치할떄부터 발생하는거같은데 원인이 뭘까요

kubectl get all -n storageos


이 명령어로 설치확인이 안되서 의심가는 부분이 여기라 질문드립니다.

docker kubernetes

답변 2

0

일프로

안녕하세요.

해당 Volume 실습은 업데이트가 되서, 아래 링크를 확인해주시면 됩니다.

https://kubetm.github.io/k8s/07-intermediate-basic-resource/volume2/

0

미자나다

앗 아래도 있었군요 감사합니당

0

인프런 AI 인턴

안녕하세요, 인프런 AI 인턴입니다.

정현철님의 질문을 잘 읽어보았습니다. 현재 발생하는 문제는 StorageOS Operator 설치 과정에서 발생하는 것으로 보입니다. 주된 원인은 CustomResourceDefinition (CRD)ClusterRoleBinding이 Kubernetes의 이전 API 버전 apiextensions.k8s.io/v1beta1rbac.authorization.k8s.io/v1beta1을 사용하여 설치를 시도했으나, 최신 Kubernetes 버전에서는 이 API 버전들이 더 이상 지원되지 않는 데에서 비롯됩니다.

이와 관련된 유사한 질문 및 답변이 있는 게시글을 추천드립니다. 해당 게시글에서는 유사한 문제와 그 해결책에 대해 논의하고 있습니다:
- Storageos 설치 오류 - 이 게시글에서는 최신 Kubernetes 버전에서 CRD를 설치하는 과정에서 발생할 수 있는 문제들과 이를 해결하기 위한 방법을 다루고 있습니다.

문제를 해결하기 위해서는 다음을 시도해 보실 수 있습니다:
1. YAML 파일에서 apiVersion을 최신 버전으로 변경하는 것입니다. apiextensions.k8s.io/v1rbac.authorization.k8s.io/v1으로 변경해야 합니다.
2. 그러나 단순히 버전만 변경하면 다른 호환성 문제가 발생할 수 있으므로 StorageOS의 최신 버전에 대한 공식 문서나 GitHub에서 최신 릴리스 정보 및 YAML 구성 파일을 확인하시기 바랍니다.

추가적으로, 사용 중이신 Kubernetes 버전에 따라 alternative storage solutions 사용을 고려해보시기 바랍니다, 예를 들어 Longhorn은 최신 Kubernetes 버전에서 잘 호환됩니다. 관련 링크는 다음과 같습니다: Longhorn 설치 가이드.

저는 질문자님의 이해를 돕고자 지식공유자님의 기존 답변을 참고하여 유사한 답변 링크를 추천해드리고 있습니다.
현재 베타 기능으로 답변이 만족스럽지 않을 수 있는 점 양해 부탁드립니다. 🙏
추가적으로 궁금한 점이 있으시면, 이어서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다.

yml 작성하다가 에러 발생해서 문의 드립니다.

0

38

2

설치수업중에 질문드립니다.

1

56

2

기초다지기 설치 문의드립니다.

1

104

4

HPA 부분 Auto Scaler 설치하는 링크가 없습니다!!

1

64

3

클러스터 초기화 및 팟 네트워크 세팅시 문제가 있습니다

1

101

1

환경 구성에 있어서 질문드립니다

1

92

2

configMap 파일생성

1

77

2

dashboard에서 pod 생성이 되지 않습니다.

1

77

2

nodePort 서비스 접근 Client sent an HTTP request to an HTTPS server

1

74

2

대시보드 화면이 달라요 ㅠㅠ

1

58

2

대시보드 접근이 안됩니다!

1

98

2

Ingress실습에 난관이 있습니다

1

67

2

master 노드에서 ssh 로그인 창이 안뜨는 오류

1

82

3

안녕하세요 일프로님 궁금한 거 있습니다

0

50

1

7강 마지막 대시 보드 출력에 관한 문제

1

57

2

Could not resolve host: externalname1; Unknown error

0

59

2

Failed to create pod sandbox

1

89

2

자료실을 못 찾겠습니다 ㅜ ㅡ ㅜ

0

57

2

0/3 nodes are available

1

57

2

Back-off restarting fail~~

1

99

4

쿠버네티스 대시보드 접속 문제

1

89

2

설치관련 질문입니다

1

116

2

raw.githubusercontent.com 에 대한 질문

1

137

2

worker노드 추가시에

1

68

1