Closed amyXia1994 closed 1 year ago
Please answer these questions before submitting your issue. Thanks!
appops/guestbook-frontend/base/base.k
redisLeader: frontend.Server { # Main Container Configuration mainContainer = container.Main { name = "leader" ports = [{containerPort = 6379}] } image = "docker.io/redis:6.0.5" selector = { "app" = "redis" } labels = { "app" = "redis" "role" = "leader" "tier" = "backend" } podMetadata.labels: { "role" = "leader" "tier" = "backend" "app" = "redis" } schedulingStrategy.resource = res_tpl.tiny services = [ service.Service { name = "redis-leader" ports = [ { "port" = 6379 } ] } ] }
the compiled data contains 2 deployments, 2 service, 1 namespace
1 deployment, 1 service, 1 namespace
I think it has nothing to do with my kusion version. anyway:
releaseVersion: v0.7.2 gitInfo: latestTag: v0.7.2 commit: fb996130c1e4a8a30da7c04e672433ea6c870384 treeState: clean buildInfo: goVersion: go1.17.13 GOOS: linux GOARCH: amd64 numCPU: 2 compiler: gc buildTime: "2022-12-02 07:00:28" dependency: kclvmgoVersion: v0.4.4-alpha.1 kclPluginVersion: v0.4.1-alpha2
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
appops/guestbook-frontend/base/base.k
with following code:2. What did you expect to see? (Required)
the compiled data contains 2 deployments, 2 service, 1 namespace
3. What did you see instead (Required)
1 deployment, 1 service, 1 namespace
4. What is your KusionStack components version? (Required)
I think it has nothing to do with my kusion version. anyway: