Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

I cannot enable calico networkpolicy

オープン
#214 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
azure, kubernetes

調査の方向性

docs/topics/clusterdefinitions.md のリンクされた Calico セクションと提供された kubernetes-azurestack.json から始め、次に、示されている aks-engine-azurestack コマンドでデプロイメントを再現します。kubectl get pods -A で結果のリソースを確認し、calico-daemonset addon が作成されるか検証します。kube-system に Calico の Pod または daemon set が現れ、ネットワークポリシーを使用できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
23
フォーク
24
平均マージ
1日 23時間
マージ済み PR(30日)
1

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/aks-engine-azurestack のほかの issue

Azure/aks-engine-azurestack の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。