无密钥网关的网络连接问题

问题描述 投票:0回答:1

我正在使用 Docker Desktop 在 kubernetes 上部署 Akeyless Gateway。 我面临着网络连接问题。以下是 pod 日志:

Starting up
No network connectivity, using existing artifacts
/usr/lib/python3/dist-packages/supervisor/options.py:473: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
self.warnings.warn(
2024-03-26 17:22:19,228 INFO Included extra file "/etc/supervisor/conf.d/base-supervisord.conf" during parsing
2024-03-26 17:22:19,228 INFO Included extra file "/etc/supervisor/conf.d/logrotate-cron-supervisord.conf" during parsing
2024-03-26 17:22:19,228 INFO Included extra file "/etc/supervisor/conf.d/rsyslog-supervisord.conf" during parsing
2024-03-26 17:22:19,228 INFO Included extra file "/etc/supervisor/conf.d/splunk-forwader-supervisord.conf" during parsing
2024-03-26 17:22:19,228 INFO Set uid to user 0 succeeded
2024-03-26 17:22:19,231 INFO RPC interface 'supervisor' initialized
2024-03-26 17:22:19,231 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-03-26 17:22:19,231 INFO supervisord started with pid 14
2024-03-26 17:22:20,233 INFO spawned: 'exit_on_any_fatal' with pid 15
2024-03-26 17:22:20,235 INFO spawned: 'cron' with pid 16
2024-03-26 17:22:20,236 INFO spawned: 'rsyslog' with pid 17
2024-03-26 17:22:20,237 INFO spawned: 'splunkforwader' with pid 18
READY
splunkd 269 was not running.
Stopping splunk helpers...
Done.

我已允许所有入口和出口流量。 我使用的舵图是这样的:https://github.com/akeylesslabs/helm-charts/tree/main/charts/akeyless-api-gateway

我尝试允许所有入口和出口流量。 检查了所有端口。 我尝试使用 docker 部署独立网关,该网关正在使用 Docker Desktop 在我的本地运行。

kubernetes kubernetes-helm
1个回答
0
投票

使用替代端点而不是具有静态 IP 的 S3 存储桶解决了该问题。早些时候使用的工件是 https://akeylessservices.s3.us-east-2.amazonaws.com/。 替代工件可以通过取消注释通过values.yaml传递:

fixedArtifactRepository: "artifacts.site2.akeyless.io"

这解决了网络连接问题。 参考:https://docs.akeyless.io/docs/advanced-k8s-gateway-configuration#fixed-artifact-repository

© www.soinside.com 2019 - 2024. All rights reserved.