小编Mah*_*a D的帖子

Kubernetes Python 客户端连接问题

我已经设置了官方 Kubernetes Python 客户端(https://github.com/kubernetes-client/python)。

我正在运行 Python 代码以连接到 Kubernetes 集群,但它抛出了一个错误

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='****', port=6443): Max retries exceeded with url: /api/v1/namespaces/default/pods (Caused by NewConnectionError(': Failed to build a new连接:[Errno 110] 连接超时',))

安装要求:

cachetools        3.1.0 ,
certifi           2019.3.9 ,
chardet           3.0.4 , 
google-auth       1.6.3 ,
idna              2.8 ,
ipaddress         1.0.22 ,
kubernetes        10.0.0-snapshot ,
oauthlib          3.0.1 ,
pip               19.0.3 ,
pyasn1            0.4.5 ,
pyasn1-modules    0.2.4 ,
python-dateutil   2.8.0 ,
PyYAML            5.1 ,
requests          2.21.0 ,
requests-oauthlib 1.2.0 ,
rsa               4.0 …
Run Code Online (Sandbox Code Playgroud)

python-3.x kubernetes kubectl kubernetes-python-client

6
推荐指数
1
解决办法
3754
查看次数

dynamodb增强:如何在java中使用SecondaryIndex进行查询(spring-boot)

我刚刚开始使用 spring-boot-dynamodb 增强版。
aws-skd-java2有使用partitionkey 查询的示例,但我找不到使用 secondaryIndex 查询的示例。
请建议如何使用 secondaryIndex 与 dynamodb 增强型客户端进行查询。

java amazon-dynamodb spring-boot

2
推荐指数
1
解决办法
5984
查看次数