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 #141

Merged
merged 2 commits into from
Jul 26, 2024
Merged

Add redis #141

merged 2 commits into from
Jul 26, 2024

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

Deployment successfully completed for PR-141! 🎉

View in Humanitec

Deployment ID: 17e5bee21066ae76

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/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:ac6af72678abac798cc7a1aa8833481936add9cb6e098c894418823d8ae40298"
        },
        {
          "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": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/redis/score/score.yaml"
        },
        {
          "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	17e5bee21066ae76           	27.204114526s                          
base-env           	default	base-env                                  	current deploy	17e5bee21066ae76           	27.204118063s                          
k8s-cluster        	default	k8s-cluster                               	current deploy	17e5bee21066ae76           	27.204120377s                          
k8s-namespace      	default	k8s-namespace                             	current deploy	17e5bee21066ae76           	27.204122451s                          
logging            	default	logging                                   	current deploy	17e5bee21066ae76           	27.204124635s                          
k8s-service-account	default	modules.my-sample-workload                	current deploy	17e5bee21066ae76           	27.204126589s                          
workload           	default	modules.my-sample-workload                	current deploy	17e5bee21066ae76           	27.204135185s                          
dns                	default	modules.my-sample-workload.externals.dns  	current deploy	17e5bee21066ae76           	27.204137089s                          
ingress            	default	modules.my-sample-workload.externals.dns  	current deploy	17e5bee21066ae76           	27.204139664s                          
tls-cert           	default	modules.my-sample-workload.externals.dns  	current deploy	17e5bee21066ae76           	27.204141878s                          
redis              	default	modules.my-sample-workload.externals.redis	current deploy	17e5bee21066ae76           	27.204143821s                          
route              	default	modules.my-sample-workload.externals.route	current deploy	17e5bee21066ae76           	27.204146296s                          

Resources Graph

Resources Graph:


strict digraph {

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

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

";

	labelloc="t";

	overlap="false";

	splines="true";


	"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" -> "7fab6ddbeb6fe6204781f2c54bd183a499233654" [  weight=0 ];

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

	"bb792dac1b2019702ee97eb399b2f99ff3f44c4d" -> "2b55fd66c1bf75b30966263e1628a41c217fe8fa" [  weight=0 ];

	"bb792dac1b2019702ee97eb399b2f99ff3f44c4d" -> "b988bdb579075fcf84a1860307294e17d5f69b1f" [  weight=0 ];

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

	"7fab6ddbeb6fe6204781f2c54bd183a499233654" -> "9d10584c2efa935bc4a70b780711e5a49fcb1d9e" [  weight=0 ];

	"7fab6ddbeb6fe6204781f2c54bd183a499233654" -> "a8280e0a06ad8b52743af05ccc6c74290395050e" [  weight=0 ];

	"7fab6ddbeb6fe6204781f2c54bd183a499233654" -> "b988bdb579075fcf84a1860307294e17d5f69b1f" [  weight=0 ];

	"7fab6ddbeb6fe6204781f2c54bd183a499233654" -> "bd8aacd0f4dc5c294d8b79cf375ccf23684ee265" [  weight=0 ];

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

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

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

	"base" -> "5776649bafdf2defc2e76aaa3f07e47edda81fbc" [  weight=0 ];

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

	"2b55fd66c1bf75b30966263e1628a41c217fe8fa" -> "b988bdb579075fcf84a1860307294e17d5f69b1f" [  weight=0 ];

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

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

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

}


@mathieu-benoit mathieu-benoit merged commit 0621dcc into main Jul 26, 2024
2 checks passed
@mathieu-benoit mathieu-benoit deleted the redis branch July 26, 2024 11:31
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