Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redis #142

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Add redis #142

merged 1 commit into from
Jul 26, 2024

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

Deployment successfully completed for PR-142! 🎉

View in Humanitec

Deployment ID: 17e5c10b62c05482

Domains:

my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/new-feature/score/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:ae3c337bd0f2baf60cbd8f2ef9e809c556365196fe9f9eb9f9ec560622a867b7"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Redis!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/my-sample-container/variables/REDIS_CONNECTION",
          "value": "${externals.redis.host}:${externals.redis.port},user=${externals.redis.username},password=${externals.redis.password}"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/redis",
          "value": {
            "class": "default",
            "type": "redis"
          }
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                     	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                     	current deploy	17e5c10b62c05482           	22.342327935s                          
base-env           	default	base-env                                  	current deploy	17e5c10b62c05482           	22.342329948s                          
k8s-cluster        	default	k8s-cluster                               	current deploy	17e5c10b62c05482           	22.342331061s                          
k8s-namespace      	default	k8s-namespace                             	current deploy	17e5c10b62c05482           	22.342332012s                          
logging            	default	logging                                   	current deploy	17e5c10b62c05482           	22.342332914s                          
k8s-service-account	default	modules.my-sample-workload                	current deploy	17e5c10b62c05482           	22.342333715s                          
workload           	default	modules.my-sample-workload                	current deploy	17e5c10b62c05482           	22.342334527s                          
dns                	default	modules.my-sample-workload.externals.dns  	current deploy	17e5c10b62c05482           	22.342335329s                          
ingress            	default	modules.my-sample-workload.externals.dns  	current deploy	17e5c10b62c05482           	22.34233626s                           
tls-cert           	default	modules.my-sample-workload.externals.dns  	current deploy	17e5c10b62c05482           	22.342338154s                          
redis              	default	modules.my-sample-workload.externals.redis	current deploy	17e5c10b62c05482           	22.342339076s                          
route              	default	modules.my-sample-workload.externals.route	current deploy	17e5c10b62c05482           	22.342340007s                          

Resources Graph

Resources Graph:


strict digraph {

	label="Resource Graph
app: my-sample-app, env: pr-142

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"a5d6c8333dcddb014b948c5c9428f56c009e5912" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.route
type: route
class: default
provision time: 10.749141s", style="filled", tooltip="guresid: a5d6c8333dcddb014b948c5c9428f56c009e5912",  weight=0 ];

	"4e0124cb17441bec92b68327c84316a8a6d5c13e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.redis
type: redis
class: default
provision time: 6.828919s", style="filled", tooltip="guresid: 4e0124cb17441bec92b68327c84316a8a6d5c13e",  weight=0 ];

	"f1746a4ce7ca6371a61073ac0a4c10424d01cad1" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: workload
class: default
provision time: 117.536ms", style="filled", tooltip="guresid: f1746a4ce7ca6371a61073ac0a4c10424d01cad1",  weight=0 ];

	"f1746a4ce7ca6371a61073ac0a4c10424d01cad1" -> "f5f460a9a898b7dcb2c8e0b01450360b7143a81a" [  weight=0 ];

	"f1746a4ce7ca6371a61073ac0a4c10424d01cad1" -> "4e0124cb17441bec92b68327c84316a8a6d5c13e" [  weight=0 ];

	"f1746a4ce7ca6371a61073ac0a4c10424d01cad1" -> "7bdb8aafa196b2a62cddc1cd610a368c251655e0" [  weight=0 ];

	"f1746a4ce7ca6371a61073ac0a4c10424d01cad1" -> "a5d6c8333dcddb014b948c5c9428f56c009e5912" [  weight=0 ];

	"a1067d6d884aa40f734936382fcdc3daeaecda2a" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: ingress
class: default
provision time: 3.322497s", style="filled", tooltip="guresid: a1067d6d884aa40f734936382fcdc3daeaecda2a",  weight=0 ];

	"a1067d6d884aa40f734936382fcdc3daeaecda2a" -> "9d662a81a78c6c5050a5eef7e0cd4098cfa6e06e" [  weight=0 ];

	"a1067d6d884aa40f734936382fcdc3daeaecda2a" -> "f5f460a9a898b7dcb2c8e0b01450360b7143a81a" [  weight=0 ];

	"a1221d6c623e97aaf70c8721b64f50044ba81986" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 14.930737s", style="filled", tooltip="guresid: a1221d6c623e97aaf70c8721b64f50044ba81986",  weight=0 ];

	"9d662a81a78c6c5050a5eef7e0cd4098cfa6e06e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: tls-cert
class: default
provision time: 1.720077s", style="filled", tooltip="guresid: 9d662a81a78c6c5050a5eef7e0cd4098cfa6e06e",  weight=0 ];

	"9d662a81a78c6c5050a5eef7e0cd4098cfa6e06e" -> "f5f460a9a898b7dcb2c8e0b01450360b7143a81a" [  weight=0 ];

	"my-sample-workload" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-workload", style="filled",  weight=0 ];

	"my-sample-workload" -> "base" [  weight=0 ];

	"my-sample-workload" -> "f1746a4ce7ca6371a61073ac0a4c10424d01cad1" [  weight=0 ];

	"f5f460a9a898b7dcb2c8e0b01450360b7143a81a" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: dns
class: default
provision time: 7.620432s", style="filled", tooltip="guresid: f5f460a9a898b7dcb2c8e0b01450360b7143a81a",  weight=0 ];

	"7bdb8aafa196b2a62cddc1cd610a368c251655e0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: k8s-service-account
class: default
provision time: 6.952798s", style="filled", tooltip="guresid: 7bdb8aafa196b2a62cddc1cd610a368c251655e0",  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "a1221d6c623e97aaf70c8721b64f50044ba81986" [  weight=0 ];

}


@mathieu-benoit mathieu-benoit merged commit 6471504 into main Jul 26, 2024
2 checks passed
@mathieu-benoit mathieu-benoit deleted the new-feature branch July 26, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant