I cannot enable calico networkpolicy

Đang mở
#214 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
azure, kubernetes
Lĩnh vực
infrastructure, networking

Hướng nghiên cứu

Bắt đầu với phần Calico được liên kết trong docs/topics/clusterdefinitions.md và tệp kubernetes-azurestack.json được cung cấp, sau đó tái tạo quá trình triển khai bằng lệnh aks-engine-azurestack đã cho. Kiểm tra các tài nguyên thu được bằng kubectl get pods -A và xác minh xem addon calico-daemonset có được tạo hay không. Được xem là hoàn tất khi các pod Calico hoặc một daemon set xuất hiện trong kube-system và có thể sử dụng các chính sách mạng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug

Steps To Reproduce

i am trying to enable calico networkpolicy as per documentation below is the kubernetes-azurestack.json

{
"apiVersion": "vlabs",
"location": "",
"properties": {
"orchestratorProfile": {
"orchestratorRelease": "1.26",
"orchestratorVersion": "1.26.9",
"kubernetesConfig": {
"cloudProviderBackoff": true,
"cloudProviderBackoffRetries": 1,
"cloudProviderBackoffDuration": 30,
"cloudProviderRateLimit": true,
"cloudProviderRateLimitQPS": 100,
"cloudProviderRateLimitBucket": 150,
"cloudProviderRateLimitQPSWrite": 25,
"cloudProviderRateLimitBucketWrite": 30,
"useCloudControllerManager": true,
"useInstanceMetadata": false,
"networkPlugin": "azure",
"networkPolicy": "calico",
"kubeletConfig": {
"--node-status-update-frequency": "1m"
},
"controllerManagerConfig": {
"--node-monitor-grace-period": "5m",
"--pod-eviction-timeout": "5m",
"--route-reconciliation-period": "1m"
},
"addons": [
{
"name": "calico-daemonset",
"enabled": true
}
]
}
},
"customCloudProfile": {
"portalURL": "",
"identitySystem": ""
},
"featureFlags": {
"enableTelemetry": true
},
"masterProfile": {
"dnsPrefix": "",
"distro": "aks-ubuntu-20.04",
"count": 3,
"vmSize": "Standard_DS2_v2"
},
"agentPoolProfiles": [
{
"name": "linuxpool",
"count": 3,
"vmSize": "Standard_D2_v2",
"distro": "aks-ubuntu-20.04",
"availabilityProfile": "AvailabilitySet",
"AcceleratedNetworkingEnabled": false
}
],
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa "
}
]
},
"enableUnattendedUpgrades": false,
"runUnattendedUpgradesOnBootstrap": false
},
"servicePrincipalProfile": {
"clientId": "",
"secret": ""
}
}
}

Expected behavior
to see the calico pods or daemon-set and to able to use the networkpolicy

AKS Engine version
Version: v0.79.0

Kubernetes version
1.26

Additional context

below is kubectl get pods -A

image

i followed this template

https://github.com/Azure/aks-engine-azurestack/blob/master/docs/topics/clusterdefinitions.md#calico
and tried with/without enabling add-on but i dont see the calico pods created in kube-system
"kubernetesConfig": {
"addons": [
...
{
"name": "calico-daemonset",
"enabled": true,
"config": {
"logSeverityScreen": "error"
}
}
...
]
}

not sure if i miss something

i created multiple times and deleted the deployment from azure portal should i do something else to re-create ?

aks-engine-azurestack deploy --azure-env AzureStackCloud --location --resource-group AKS --api-model kubernetes-azurestack.json --output-directory kube-out --client-id --client-secret --subscription-id --force-overwrite

using this command

Ngôn ngữ chính
Go
Star
23
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/aks-engine-azurestack

Tất cả issue của Azure/aks-engine-azurestack

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.