-
Notifications
You must be signed in to change notification settings - Fork 49
Lokomotive component azure-arc-onboarding #1473
Conversation
Why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some thoughts.
assets/charts/components/azure-arc-lokomotive/templates/rbac.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/rbac.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/register.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/register.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/remove.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/register.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/register.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-lokomotive/templates/rbac.yaml
Outdated
Show resolved
Hide resolved
a09dfaa
to
d637217
Compare
|
assets/charts/components/azure-arc-lokomotive/templates/rbac.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not full review, but mainly addressing resolved previous conversations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some smoke review comments
assets/charts/components/azure-arc-onboarding/templates/register.yaml
Outdated
Show resolved
Hide resolved
0460a52
to
6105859
Compare
assets/charts/components/azure-arc-onboarding/templates/rbac.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-onboarding/templates/secret.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-onboarding/templates/remove.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-onboarding/templates/remove.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-onboarding/templates/rbac.yaml
Outdated
Show resolved
Hide resolved
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tried myself, but would love to.
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
0abab4a
to
d61861e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor suggestions
assets/charts/components/azure-arc-onboarding/templates/register.yaml
Outdated
Show resolved
Hide resolved
assets/charts/components/azure-arc-onboarding/templates/remove.yaml
Outdated
Show resolved
Hide resolved
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few language related changes.
docs/configuration-reference/components/azure-arc-onboarding.md
Outdated
Show resolved
Hide resolved
- Delegate access and manage security policies for resources using role-based access control (RBAC) and [Azure | ||
Lighthouse](https://azure.microsoft.com/en-in/services/azure-lighthouse/). | ||
|
||
- Organise and inventory assets through a variety of Azure scopes, such as management groups, subscriptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Organise and inventory assets through a variety of Azure scopes, such as management groups, subscriptions, | |
- Organise and inventory assets through various Azure scopes, such as management groups, subscriptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Microsoft page on Azure arc has a variety of
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it since it is too wordy. Nothing right or wrong about it.
|
||
## Learning objectives | ||
|
||
At the end of this tutorial you will have onboarded a Lokomotive cluster on Azure Arc, create an Azure Arc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the end of this tutorial you will have onboarded a Lokomotive cluster on Azure Arc, create an Azure Arc | |
At the end of this tutorial, you will have onboarded a Lokomotive cluster on Azure Arc, created an Azure Arc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rephrased to
By the end of this guide, the following things would be accomplished:
* Onboard a Lokomotive cluster on Azure Arc
* Create Azure Arc Kubernetes configuration for the GitOps agent.
* Watch the GitOps agent deploy Kubernetes resources from the git repository.
Let me know what you think ?
## Learning objectives | ||
|
||
At the end of this tutorial you will have onboarded a Lokomotive cluster on Azure Arc, create an Azure Arc | ||
Kubernetes configuration and deploy configuration of a sample Nginx Deployment using GitOps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kubernetes configuration and deploy configuration of a sample Nginx Deployment using GitOps. | |
Kubernetes configuration and deployed a sample Nginx Deployment configuration using GitOps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Delegate access and manage security policies for resources using role-based access control (RBAC) and [Azure | ||
Lighthouse](https://azure.microsoft.com/en-in/services/azure-lighthouse/). | ||
|
||
- Organise and inventory assets through a variety of Azure scopes, such as management groups, subscriptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Organise and inventory assets through a variety of Azure scopes, such as management groups, subscriptions, | |
- Organise and inventory assets through various Azure scopes, such as management groups, subscriptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
Add a new component `azure-arc-onboarding` that can onboard and remove a Lokomotive cluster in Azure Arc. In its current incarnation, component deploys a Job which executes the commands needed to onboard or remove the Lokomotive cluster from Azure Arc. Signed-off-by: Imran Pochi <imran@kinvolk.io>
This commit adds a Dockerfile that is used to build `az-cli-with-helm` docker image. `azurearc.sh` is executed whenever the pod is created during onboarding/removing the Lokomotive cluster in Azure arc. Versions of `az` and `helm` used are: az - v2.25.0 helm - v3.6.1 Signed-off-by: Imran Pochi <imran@kinvolk.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some remaining nits, otherwise LGTM 👍
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
docs/how-to-guides/gitops-using-azure-arc-onboarding-component.md
Outdated
Show resolved
Hide resolved
This commit adds a configuration reference document for the component and a how-to-guide. How-to-guide : GitOps with Azure Arc enabled Lokomotive cluster This How-to guide targets a use case of Deploying configurations using GitOps on an Azure arc enabled Lokomotive cluster. Signed-off-by: Imran Pochi <imran@kinvolk.io>
This PR adds a new Lokomotive component
azure-arc-lokomotive
for onboarding and removing a Lokomotive cluster from Azure Arc.To test:
follow the configuration reference documentation for the component.