Bug: deployment.apps not found even though the deployment exists
See original GitHub issueWhat happened?
The action uses a deployment file and it successfully deploys the application. But when it goes to check the status of deployment (Checking manifest stability), it throws "Error from server (NotFound): deployments.apps “test-deployment” not found.
I had used this action before and was working well. Not sure how but suddenly I started receiving this error. Below is the configuration,
- name: Deploy to AKS
uses: Azure/k8s-deploy@v4.6
with:
resource-group: ${{ env.AKS_RESOURCE_GROUP_NAME }}
name: ${{ env.AKS_CLUSTER_NAME }}
action: deploy
namespace: 'default'
manifests: .k8s/test-deployment.yml
images: ${{ env.REGISTRY_NAME }}.azurecr.io/test-repo:${{ github.sha }}
private-cluster: true
annotate-namespace: false
Version
- I am using the latest version
Runner
GitHub hosted runner
Relevant log output
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:6
Top Results From Across the Web
"Error from server (NotFound): deployments.apps "wordpress ...
What you are doing is create a pod with kubectl run and expose a deployment with kubectl expose deployment . Those are two...
Read more >deployments.apps "devspace-default" already exists #447
I have a working devspace config for one project (microservice) with Helm, but now try to extend it to work with multiple projects....
Read more >tiered deployment server says deployment apps aren't installing
Solved: I have a Linux host that is both a deployment server and deployment client in a tiered deployment server configuration. For all...
Read more >Azure Pipeline Deployment to App Service fails - Microsoft Learn
Azure Pipeline Deployment to App Service fails: "Resource doesn't exist. Resource should exist before deployment". But App Service DOES exist.
Read more >'deployments.extensions already exists' error during helm ...
Problem. When you deploy a custom Helm chart, the UI returns the following error: Internal service error : rpc error: code = Unknown...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks!
We’ve identified the source of the issue and are working on a fix now. Thank you both for bringing this to our attention!
@jaiveerk Let me see how to share my manifests. FYI, I am not deploying in the default namespace. My manifest includes : 1 deployment, a configmap, and 2 services. Everything deploys and works as expected. Just the rollout process at the end.