問題タブ [helmfile]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
kubernetes - エラー: Deployment.apps "geared-marsupi-buildachart" が無効です:
helm install geared-marsupi ./buildachart/ エラー: Deployment.apps "geared-marsupi-buildachart" は無効です: spec.template.spec.containers[1].volumeMounts[0].name: 見つかりません: "postgres_sql"
インデントの問題のように見えますが、どういうわけか機能せず、失敗します。私は2つのコンテナを持っています.1つはボリュームを必要としないdrupalで、もう1つはボリュームを追加したpostgresqlです。
コンテナー タブのすぐ下にボリュームを配置してから、2 番目の postgre コンテナーの [名前] タブの下にボリュームを配置しようとしましたが、結果は同じでした。
作業中の Yaml ファイル
kubernetes-helm - 環境で定義されたネストされた値の使用
次のヘルムファイルがあります
しかし、実行helmfile -e dev templateすると次のエラーが発生します
in ./helmfile.yaml: error during helmfile.yaml.part.0 parsing: template: stringTemplate:5:23: executing "stringTemplate" at <.Values.chartVersions.whoami>: map has no entry for key "chartVersions"
次のようなことができます
それは機能しますが、すべてのチャート バージョンを親キーの下にグループ化することをお勧めします。前者を機能させる方法について何か提案はありますか?
更新:以下の作品
次のように定義された環境で
しかし、私は最初の試みもうまくいくはずだと本当に感じています!
kubernetes - configmap.yaml と job.yaml とは何ですか?
手動で作成する代わりに、Kafka クラスターを自動的に作成しようとしています。安定したチャートを使用しています: https://github.com/helm/charts/tree/master/stable/kafka-manager
テンプレート フォルダーには、configmap.yaml と job.yaml の 2 つの .yaml ファイルがあります。これらのファイルとは何ですか?これらのファイルの役割は何ですか?
helmfile - helmfile.yaml で Helm チャートの values.yaml を表す
helmfile.yaml で次を表現しようとしていますが、エラーが発生しています。誰でもセットアップを手伝ってもらえますか?
値.yaml
helmfile.yaml で次のことを試しました
私が得ているエラーは
helmfile.yaml で次のことも試しました
これにより、次のエラーが発生しました
何か案が?