-
Notifications
You must be signed in to change notification settings - Fork 5
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
Proposal/Discussion: Describe the deployment specification #3
Comments
@margo/technical-wg @phil-abb @Haishi2016 @arne-broering Let me know your thoughts! |
Since the apiVersion will have Margo in the name I don't think the What do you think about In the table, it says it should be Also, your examples are omitting the apiVersion |
|
@ajcraig Here's an example that aligns with the latest changes to the application definition and the parameter changes proposal. I removed the I also added the apiVersion: margo.deployment/v1
kind: ApplicationDeployment
metadata:
id: 0f83e682-a35b-4533-ae93-ff3810095f31
applicationId: com-northstarida-digitron-orchestrator
spec:
deploymentProfile:
type: helm.v3
components:
- name: digitron-orchestrator
properties:
repository: oci://northstarida.azurecr.io/charts/northstarida-digitron-orchestrator
revision: 1.0.9
wait: true
timeout: 8m0s
- name: database-services
properties:
repository: oci://quay.io/charts/realtime-database-services
revision: 2.3.7
parameters:
hostname:
value: edge.host.local
targets:
- pointer: edge_host_name
components: ["digitron-orchestrator"]
- pointer: global.ingress.host
components: ["digitron-orchestrator", "database-services"]
pollFrequency:
value: 30
targets:
- pointer: settings.pollFrequency
components: ["digitron-orchestrator"]
siteId:
value: d8b64e67-3bc4-4d0b-a3b8-da94b8f36315
targets:
- pointer: settings.siteId
components: ["digitron-orchestrator"]
- pointer: globals.site.id
components: ["database-services"]
cpuLimit:
value: 3
targets:
- pointer: settings.limits.cpu
components: ["digitron-orchestrator"]
memoryLimit:
value: 16384
targets:
- pointer: settings.limits.memory
components: ["digitron-orchestrator"] |
This Issue is now tied to the following pull request: |
All work associated to this is now within the linked PR above. Closing issue. |
Below I have outlined proposals for an interoperable deployment specification utilized when defining a new desired state within the Workload Orchestration Software.
The associated workflow / use case for this is detailed below.
Included in this issue are 3 different example deployment specifications:
Once this discussion has matured, I will create a pull request towards the workload orchestration agent markdown.
Deployment specification example for Cluster with a single component.
Top-level Attributes
application
.Metadata Attributes
Spec Attributes
** Target Attributes**
** Components Attributes**
** Parameter Attributes**
Deployment specification example for Cluster with multiple components.
Deployment specification example for Standalone Device with a single component.
The text was updated successfully, but these errors were encountered: