Open service mesh doesn't work on windows node
Gave OSM a go in my AKS cluster. I install it as a add-on component but unfortunately it didn't like Windows node and won't schedule anything on it after I enable my namespace with osm.
osm namespace add default.
Then proceed to deploy using yaml below and nothing happens. Then i remove my default namespace from osm control. Then re-ran the same yaml -- i can see the pods getting created.
In the docs, i thought they say -- not supporting Window Server contaiers.
I also get error like this
Error creating: Internal error occurred: failed calling webhook
"osm-inject.k8s.io": received invalid webhook response: expected
response.uid="50cc3ac7-2f16-4e60-9efe-edd71e82b448", got ""
Ths is the sample yaml used:
------------
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample
labels:
app: sample
spec:
replicas: 1
template:
metadata:
name: sample
labels:
app: sample
spec:
nodeSelector:
"kubernetes.io/os": windows
containers:
- name: sample
image: mcr.microsoft.com/dotnet/framework/samples:aspnetapp
resources:
limits:
cpu: 1
memory: 800M
requests:
cpu: .1
memory: 300M
ports:
- containerPort: 80
selector:
matchLabels:
app: sample
---
apiVersion: v1
kind: Service
metadata:
name: sample
spec:
type: ClusterIP
ports:
- protocol: TCP
port: 80
selector:
app: sample
Comments