This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform apply | |
... | |
netbox_virtual_machine.testvm: Creating... | |
2020/09/23 16:57:47 [DEBUG] EvalApply: ProviderMeta config value set | |
2020/09/23 16:57:47 [DEBUG] netbox_virtual_machine.testvm: applying the planned Create change | |
2020/09/23 16:57:47 [TRACE] GRPCProvider: ApplyResourceChange | |
2020/09/23 16:57:47 [DEBUG] netbox_virtual_machine.testvm: apply errored, but we're indicating that via the Error pointer rather than returning it: unknown error (status 400): {} | |
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalMaybeTainted | |
2020/09/23 16:57:47 [TRACE] EvalMaybeTainted: netbox_virtual_machine.testvm encountered an error during creation, so it is now marked as tainted | |
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalWriteState |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
namespace: rabbitmq | |
name: rabbitmq | |
spec: | |
type: NodePort | |
ports: | |
- name: rabbitmq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: rabbitmq | |
namespace: rabbitmq | |
spec: | |
serviceName: rabbitmq | |
replicas: 3 | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: rabbitmq | |
namespace: rabbitmq | |
data: | |
RABBITMQ_ERLANG_COOKIE: "L66sEftynCGaLe3bCxG3TbPe3oXBTLrhCKpULeM4ZQHYA33nTrJ2spC7yyKvsRTP" | |
RABBITMQ_DEFAULT_USER: "rabbitmq" | |
enabled_plugins: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: rabbitmq | |
namespace: rabbitmq | |
stringData: | |
rabbitmq_password: "rabbitmq" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: rabbitmq | |
namespace: rabbitmq | |
--- | |
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: rabbitmq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "digitalocean_kubernetes_cluster" "rabbitmq" { | |
name = "rabbitmq" | |
region = "lon1" | |
version = "1.18.3-do.0" | |
tags = ["rabbitmq"] | |
node_pool { | |
name = "rabbitmq-worker-pool" | |
size = "s-2vcpu-4gb" | |
node_count = 3 |