Private searxng instance
This commit is contained in:
parent
8bf4269208
commit
795309cfe2
2 changed files with 11 additions and 1 deletions
|
@ -80,3 +80,13 @@ deploy:
|
||||||
.PHONY: teardown
|
.PHONY: teardown
|
||||||
teardown:
|
teardown:
|
||||||
terraform destroy
|
terraform destroy
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: auth-kubectl
|
||||||
|
auth-kubectl:
|
||||||
|
gcloud container clusters get-credentials $(CLUSTER_NAME) --region=$(GCP_REGION)
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: rollout-new-version-backend
|
||||||
|
rollout-new-version-backend: auth-kubectl
|
||||||
|
kubectl rollout restart deploy backend
|
||||||
|
|
|
@ -87,7 +87,7 @@ resource "kubernetes_service" "searxng_service" {
|
||||||
target_port = var.search_port
|
target_port = var.search_port
|
||||||
}
|
}
|
||||||
|
|
||||||
type = "LoadBalancer"
|
type = "ClusterIP"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue