我想使用Java Fabric API访问AWS EKS并对其进行管理。使用Java Fabric API的调用代码应该能够通过AWS IAM进行身份验证。 如下所示,但应该能够访问AWS API
io.fabric8.kubernetes.client.Config k8sConfig = new ConfigBuilder()
.withApiVersion(V1)
.withClientCertData(clusterCert.cert)
.withTrustCerts(true)
.withCaCertData(clusterCert.cert)
.withClientKeyData(clusterCert.key)
.withMasterUrl(cluster.apiUrl)
.build();
任何建议都应受到高度赞赏。