whdgns62829214
@whdgns62829214
Reviews Written
1
Average Rating
5.0
Posts
Q&A
Jenkin ์์ค์ฝ๋๊ด๋ฆฌ ์ ๋ ฅ์ ์ค๋ฅ
๊ทธ๋ฆฌ๊ณ ํน์ ์ด๊ณผ์ ์ด ๊นํ๋ธ ์์ค์ฝ๋๋ฅผ ๋น๋ํ๋ ๊ณผ์ ์ด ๋ง์๊น์?
- 1
- 4
- 967
Q&A
Jenkin ์์ค์ฝ๋๊ด๋ฆฌ ์ ๋ ฅ์ ์ค๋ฅ
https://github.com/k8s-1pro/kubernetes-anotherclass-api-tester.giturl๋ ์ ๋ค์ด๊ฐ์ง๋๋ค.
- 1
- 4
- 967
Q&A
jenkins์์ ์์ค ๋น๋ํ๊ธฐ์์ ์ค๋ฅ๊ฐ ๋ฐ์ํด์
์ ๋ณ๊ฒฝํด๋ ๋๊ฐ์ ์ค๋ฅ๊ฐ ๋จ๋ค์ฉ.
- 1
- 4
- 765
Q&A
Master Node์์ ์ธ์ฆ์ ๊ฐ์ ธ์ค๊ธฐ
๋ณด๋๊น 192.168.56.20 ์ ./kube ๋๋ ํ ๋ฆฌ๊ฐ ์์ต๋๋ค.
- 1
- 3
- 328
Q&A
Master Node์์ ์ธ์ฆ์ ๊ฐ์ ธ์ค๊ธฐ
(์ฌ์ง) ๋๋ ํ ๋ฆฌ ๋ค์ด๋ก๋ ์คํจ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.์ ๊ฐ vm ์์ฑ์ ๋ง๋ ๋น๋ฐ๋ฒํธ ์ ๋ ฅํ์ต๋๋ค.
- 1
- 3
- 328
Q&A
Master Node์์ ์ธ์ฆ์ ๊ฐ์ ธ์ค๊ธฐ
์์๋ฅผ 192.168.56.30 ๋จผ์ ํค๊ณ 192.168.56.20๋ฅผ ํค๋๊น ์๋์ด ์ ๋ฉ๋๋ค.
- 1
- 3
- 328
Q&A
application ์์ฉ๊ณผ์ 1๋ฒ
Internal server errorPod "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๋ฅผ ์์ ํ ๋๋ง๋ค ์ด๋ฌํ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
- 1
- 3
- 326
Q&A
application ์์ฉ๊ณผ์ 1๋ฒ
startupProbe๊ฐ ํ๋ฒ์ด๋ผ๋ ์๋ต์ด ์ค๋ฉด ์ฑ๊ณต์ผ๋ก ๊ฐ์ฃผ.์ฆ, startupProbe์ failureThreshold๋ฅผ successThreshold๋ณด๋ค ์งง์ ๊ธฐ๊ฐ(successThreshold๊ฐ 1์ด๋๊น ๋ ์งง๊ฒ)์ ์ค์ ํ๋๊ฒ ๋ง์๊น์? ๊ทธ๋ฐ๋ฐ ์ ๋ ์ฟ ๋ฒ๋คํฐ์ค ๋์๋ณด๋ -> ํ๋ -> ํธ์ง -> startupProbe๋ฅผ ์์ ํ๋ฉด ์ ๋ฐ ์๋ฌ๊ฐ ๋จ๋๋ผ๊ตฌ์.
- 1
- 3
- 326
Q&A
๋ชจ๋ํฐ๋ง ์ค์น - Loki-Stack
์ญ์ ํ ์ฌ์ค์น๋ํด๋ดค์ต๋๋ค
- 1
- 3
- 433
Q&A
๋ชจ๋ํฐ๋ง ์ค์น - Loki-Stack
(์ฌ์ง)
- 1
- 3
- 433




