orange-ghost-99337
01/15/2020, 12:33 AMorange-ghost-99337
01/15/2020, 12:35 AMorange-ghost-99337
01/15/2020, 12:36 AMorange-ghost-99337
01/15/2020, 12:37 AMearly-musician-41645
01/15/2020, 12:54 AMus-west-2
, the same region as the helm repo. However, when I try to run the stack when AWS_REGION=ap-northeast-1 I get an error while fetching the helm chart:
fetch from s3: fetch object from s3: BucketRegionError: incorrect region, the bucket is not in 'ap-northeast-1' region at endpoint ''
On the commandline I can prefix my helm fetch command like this:
AWS_REGION=us-west-2 helm fetch...
The pulumi code looks like this:
export const splunkForwarder = new k8s.helm.v2.Chart("splunk-forwarder", {
repo: "my-repo",
version: "0.2.343",
chart: "splunk-forwarder",
namespace: namespaceName,
values: forwarderValues,
}, { dependsOn: [loggingNamespace, cluster], providers: { kubernetes: cluster.provider } });
How can I tell it to use the us-west-2
region for the helm fetch and to use the configured ap-northeast-1
for all other resources?late-printer-99022
01/15/2020, 7:20 AMlate-printer-99022
01/15/2020, 7:32 AMconst router = new k8s.networking.v1beta1.Ingress(
'syngenta-platform',
{........}
}
late-printer-99022
01/15/2020, 8:06 AMloud-whale-26029
01/15/2020, 8:47 AMloud-whale-26029
01/15/2020, 8:47 AMloud-whale-26029
01/15/2020, 8:49 AMflat-insurance-25294
01/15/2020, 8:52 AMlate-printer-99022
01/15/2020, 8:53 AMflat-insurance-25294
01/15/2020, 8:54 AMlate-printer-99022
01/15/2020, 8:54 AMlate-printer-99022
01/15/2020, 8:54 AMflat-insurance-25294
01/15/2020, 8:54 AMlate-printer-99022
01/15/2020, 8:56 AMlate-printer-99022
01/15/2020, 8:56 AM> KUBECONFIG=./kubeconfig.json kubectl get svc --all-namespaces
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
agromaster agromaster-plot NodePort 172.20.88.116 <none> 80:30577/TCP 4d11h
default kubernetes ClusterIP 172.20.0.1 <none> 443/TCP 15d
kube-system kube-dns ClusterIP 172.20.0.10 <none> 53/UDP,53/TCP 15d
syngenta-platform syngenta-platform-ndvi NodePort 172.20.135.178 <none> 80:30603/TCP 4d11h
syngenta-platform syngenta-platform-nginx NodePort 172.20.233.206 <none> 80:30177/TCP 4d11h
late-printer-99022
01/15/2020, 8:57 AMlate-printer-99022
01/15/2020, 9:01 AMflat-insurance-25294
01/15/2020, 9:02 AMlate-printer-99022
01/15/2020, 9:02 AMflat-insurance-25294
01/15/2020, 9:03 AMlate-printer-99022
01/15/2020, 9:04 AMflat-insurance-25294
01/15/2020, 9:05 AMlate-printer-99022
01/15/2020, 9:05 AMflat-insurance-25294
01/15/2020, 9:05 AMflat-insurance-25294
01/15/2020, 9:06 AMlate-printer-99022
01/15/2020, 9:07 AM