Q&A
Jenkin 소스코드관리 입력시 오류
그리고 혹시 이과정이 깃허브 소스코드를 빌드하는 과정이 맞을까요?
- いいね数
- 1
- コメント数
- 4
- 閲覧数
- 1041
Q&A
그리고 혹시 이과정이 깃허브 소스코드를 빌드하는 과정이 맞을까요?
Q&A
https://github.com/k8s-1pro/kubernetes-anotherclass-api-tester.git url도 잘 들어가집니다.
Q&A
음 변경해도 똑같은 오류가 뜨네용.
Q&A
보니깐 192.168.56.20 에 ./kube 디렉토리가 없습니다.
Q&A
디렉토리 다운로드 실패 오류가 발생했습니다. 제가 vm 생성시 만든 비밀번호 입력했습니다.
Q&A
순서를 192.168.56.30 먼저 키고 192.168.56.20를 키니깐 작동이 잘 됩니다.
Q&A
Internal server error Pod "api-tester-1231-6f49f78859-qvmn8" is invalid: spec: Forbidden: pod updates may not change fields other than spec.containers[*].image ,`spec.initContainers[*].image`,`spec.activeDeadlineSeconds`,`spec.tolerations` (only additions to existing tolerations),`spec.terminationGracePeriodSeconds` (allow it to be set to 1 if it was previously negative) core.PodSpec{ Volumes: {{Name: "files", VolumeSource: {PersistentVolumeClaim: &{ClaimName: "api-tester-1231-files"}}}, {Name: "secret-datasource", VolumeSource: {Secret: &{SecretName: "api-tester-1231-postgresql", DefaultMode: &420}}}, {Name: "kube-api-access-zcbck", VolumeSource: {Projected: &{Sources: {{ServiceAccountToken: &{ExpirationSeconds: 3607, Path: "token"}}, {ConfigMap: &{LocalObjectReference: {Name: "kube-root-ca.crt"}, Items: {{Key: "ca.crt", Path: "ca.crt"}}}}, {DownwardAPI: &{Items: {{Path: "namespace", FieldRef: &{APIVersion: "v1", FieldPath: "metadata.namespace"}}}}}}, DefaultMode: &420}}}}, InitContainers: nil, Containers: []core.Container{ { ... // 12 identical fields LivenessProbe: &{ProbeHandler: {HTTPGet: &{Path: "/liveness", Port: {IntVal: 8080}, Scheme: "HTTP"}}, TimeoutSeconds: 1, PeriodSeconds: 10, SuccessThreshold: 1, ...}, ReadinessProbe: &{ProbeHandler: {HTTPGet: &{Path: "/readiness", Port: {IntVal: 8080}, Scheme: "HTTP"}}, TimeoutSeconds: 1, PeriodSeconds: 10, SuccessThreshold: 1, ...}, StartupProbe: &core.Probe{ ... // 3 identical fields PeriodSeconds: 5, SuccessThreshold: 1, - FailureThreshold: 5, + FailureThreshold: 2, TerminationGracePeriodSeconds: nil, }, Lifecycle: nil, TerminationMessagePath: "/dev/termination-log", ... // 6 identical fields }, }, EphemeralContainers: nil, RestartPolicy: "Always", ... // 28 identical fields } failureThreshold를 수정할때마다 이러한 오류가 발생합니다.
Q&A
startupProbe가 한번이라도 응답이 오면 성공으로 간주. 즉, startupProbe의 failureThreshold를 successThreshold보다 짧은 기간(successThreshold가 1이니까 더 짧게)을 설정하는게 맞을까요? 그런데 저는 쿠버네티스 대시보드 -> 파드 -> 편집 -> startupProbe를 수정하면 저런 에러가 뜨더라구요.
Q&A
삭제후 재설치도해봤습니다
Q&A