Closed bobbybhaskar closed 2 years ago
If you do deployment to k8s you should use the k8s CRD resources not terraform ones I guess.
And the reason that's happening is probably because the logs you showed is from NATS Streaming Server, not NATS JetStream.
You should follow https://github.com/nats-io/k8s/tree/main/helm/charts/nats#jetstream to set up JetStream
Hi @ripienaar Thanks for reply,
- Step1: Do I need to install the NATS JetStream in Azure instances ( Centos 7) is this link https://github.com/nats-io/k8s/tree/main/helm/charts/nats#jetstream should i follow installing "NATS JetStream" or Please can you provide me the link of How to install NATS JetStream in linux server(centos). -Step 2: You means terraform-provider-jetstream will not work for deploying with terraform script on AKS ( Azure Kubernetes Service), please provide me the link ( how to install or deploy the NATS on AKS with terraform ).
The link I already posted answers both questions.
See also https://docs.nats.io/running-a-nats-service/introduction/installation for more general help with installation
Hi @ripienaar FYI I have installed the JetStream and NAT server in (centos VM):
I am able to connect the port 4222 is working:
But try to the script, It showing new error Called "Error: context deadline exceeded"
Hello All, i am total new for "terraform-provider-jetstream" Here, There is an issue I am facing, while deploying Jetstream Provider or NATS deployment by using the Terraform on AKS ( Azure Kubernetes Service).
│ Error: context deadline exceeded │ │ with jetstream_stream.ORDERS, │ on nats.tf line 1, in resource "jetstream_stream" "ORDERS": │ 1: resource "jetstream_stream" "ORDERS" {
│ Error: nats: no responders available for request │ │ with jetstream_kv_bucket.stream, │ on nats.tf line 15, in resource "jetstream_kv_bucket" "stream": │ 15: resource "jetstream_kv_bucket" "stream" {
There are couple of doubles where I am confuses & stuck:
Here my terraform script:
proiver.tf
Nats.tf