Comments (6)
Hi @VarunkumarManohar,
I didn't see fullCluster property (specified in k8.yaml) has been used in nodeport.py. If this the case, the $(ref.dmcluster.selfLink) will not be used in the expanded config. You may go to Google Cloud Console, under the Deployment Manager, you can view the expanded config to see if the resources have the correct dependency.
BTW, you also tried to specify the order with "dependsOn" in k8.yaml, this currently doesn't work with template.
from deploymentmanager-samples.
@likeulb even if I use the let's say context.properties['fullCluster'] inside nodeport.py, I see that the deployment manager is attempting to create the dmnginxservice before creating the dmcluster resource.
from deploymentmanager-samples.
@likeulb I have received another update from @krwenholz that there is a wait issue with Google K8 cluster so I believe this is something already known- only thing is that it would be helpful if the gke documentation inside Googel deployment manager samples mentions the prerequisite that all other k8 resources could be created only if the k8 is fully up and hence such a deployment using K8 APIs needs to be done in a separate deployment and not in the same deployment as that of the cluster or put it other way references on kubernetes cluster do not work ...
from deploymentmanager-samples.
Hi @VarunkumarManohar, I think in this particular case, there should be something wrong with your template that the ordering is not identified. Do you have most update to date template? In your current template, you tried to reference
from deploymentmanager-samples.
Hi @VarunkumarManohar any update regarding the issue?
from deploymentmanager-samples.
Hi @VarunkumarManohar please specify an output in cluster.py. The value of the output should have the reference to the type provide name, maybe like '$(ref.' + type_name+type_suffix + '.name)', then reference the output in the k8.yaml file. I locally tested and it worked.
I will close the issue for now.
from deploymentmanager-samples.
Related Issues (20)
- Incorrect assignment to database_name
- property should be notFoundPage instead of notFoundpage
- bucket property on defaultObjectAcl keeps throwing me an error
- Ref in Instance Template errors with CYCLIC_REFERENCES
- Broken link to community/cloud-foundation on front page HOT 1
- Create service accounts return INVALID_ARGUMENT
- Project creation sample missing HOT 2
- Miss
- Multiple Instances - Lables HOT 1
- How to assign roles to service account using jinja & YAML file HOT 2
- how to initially we can invoke cloud function from deployment manager?
- Assigning roles to groups using deployment manager
- Unable to provide conditional access to a service account on a project using DM HOT 1
- Create workload identity federation resources with gcloud
- lustre doesn't deploy if existing VPC is specified.
- How to Roll Back (Undo) a Deployment in GCP with Google Cloud Deployment Manager?
- Provide Support for Inline Function Code for Cloud Function Creation via Deployment Manager
- Deployment manager UPDATE error
- Failure issue with google deployment manager CLI
- container_manifest.yaml missing link to reference
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploymentmanager-samples.