-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement for k8s.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/ #28203
Comments
@josp70: This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
How did you come to this conclusion |
(Thanks fo the attention to this request) This question arise after a request we summited to AWS (eks cluster) support. As a summary, we have configured startupProbe, readinessProbe and livenessProbe for a given deployment, and we have observed the readinessProbe and livenessProbe started as if no startupProbe were configured. It's worth to mention this is done for a windows deployment. Part of the resolution of the request from AWS was that the startupProbe is not implemented for windows containers and part of the explanation is that in the page https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/ only makes reference to readinessProbe & livenessProve (no explicit reference startupProbe is done)
The server version is:
|
Hello, bro ~ @josp70 https://github.com/kubernetes/kubernetes/blob/v1.20.4/pkg/kubelet/prober/prober.go#L91 https://github.com/kubernetes/kubernetes/blob/v1.20.4/pkg/kubelet/prober/prober.go#L156 |
It is worth mentioning that the related documentation has not been updated since this PR |
/sig windows |
Here you can see the deployment: apiVersion: apps/v1
kind: Deployment
metadata:
namespace: cm-sit
name: myserver
labels:
app: myserver
spec:
revisionHistoryLimit: 1
replicas: 1
selector:
matchLabels:
app: myserver
template:
metadata:
labels:
app: myserver
spec:
nodeSelector:
kubernetes.io/os: windows
containers:
- name: myserver
image: myserver-xx:sit
args: ["-UseThisLookup", "$(LOOKUP_URI)", "-Environment", "qa", "-Settings", "env-settings", "-Run"]
resources:
requests:
memory: "2Gi"
limits:
memory: "4Gi"
startupProbe:
initialDelaySeconds: 90
failureThreshold: 30
periodSeconds: 5
timeoutSeconds: 1
tcpSocket:
port: service
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 5
tcpSocket:
port: service
# livenessProbe:
# initialDelaySeconds: 120
# failureThreshold: 3
# periodSeconds: 10
# exec:
# command:
# #- "scripts/healthz.ps1"
# - powershell
# - "scripts/healthz.ps1"
# - "-ServiceHost"
# - "127.0.0.1"
# - "-ServicePort"
# - "8704"
# - "-Timeout"
# - "5"
ports:
- name: service
containerPort: 8704
- name: trace
containerPort: 3173
env:
- name: LOOKUP_URI
valueFrom:
configMapKeyRef:
key: lookup-uri
name: env-settings
volumeMounts:
- name: settings
mountPath: C:/service/settings
imagePullPolicy: Always
volumes:
- name: settings
configMap:
name: env-settings
imagePullSecrets:
- name: us-east-1-ecr-registry Thanks! |
I am trying to write some test cases. |
@HongjiangHuang: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig node |
I'm going to remove /help because we haven't actually triaged that
is a valid issue that a contributor can pick up and fix. |
BTW, https://k8s.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/ is probably not the best place to document limitations of Windows nodes. Long term that information should live somewhere within https://k8s.io/docs/reference/ and not in the Getting started section. |
So, is this a windows limitation? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is startupProbe not available on windows container? If that is the case could it be explicitly stated on that page (issue subject)?
The text was updated successfully, but these errors were encountered: