-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment #21
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
Deployment #21
Conversation
Fix helm allowed checks Throw error when branch list from octokit is empty - Sometimes this happens when a repository has just been cloned. Retry listRepoBranches from the frontend on error
|
Some notes for a future PR after removing deployment id from the labels and environment variables The Status tab needs a way to identify the pods from the newest deployment. Without a convenient deployment id label, this must be handled differently between Deployments and StatefulSets.
|
|
|
Deploy apps without volume mounts as deployments rather than statefulsets.
Updated getAppStatus to get metadata from deployments
Note: Scaling a deployment through AnvilOps triggers a new ReplicaSet to be created, replacing every pod even if no other configuration changes were made. This is because every update made by AnvilOps changes the deployment id, which is included in the pod spec(labels, environment variables). To avoid this, the deployment id would need to be removed from the pod spec without breaking the log shipper. Or, replicas could scale separately from the updateApp operation to avoid increasing the deployment id at all.
Some minor fixes