You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take:
I was trying the command kapp deploy -a hellocron -f cron-job.yml -y and got an error shown in the screenshot. apiVersion: batch/v1beta1 is not supported for the newer version of Kubernetes rather than apiVersion: batch/v1.
Environment:
kapp Controller version (execute kubectl get deployment -n kapp-controller kapp-controller -o yaml and the annotation is kbld.k14s.io/images):
Kubernetes version (use kubectl version)
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered:
@satyampsoni I think you are trying to deploy a CustomResource of kind CronJob and the CustomResourceDefinition doesn't exist on the cluster. You would need the CRD on the cluster before you can create a CustomResource, or you can deploy both of them together using kapp and they will be automatically ordered and the CRD will be created first and then the CR.
Could you share what your expectation was in this case?
What steps did you take:
I was trying the command
kapp deploy -a hellocron -f cron-job.yml -y
and got an error shown in the screenshot.apiVersion: batch/v1beta1
is not supported for the newer version of Kubernetes rather thanapiVersion: batch/v1
.Environment:
kubectl get deployment -n kapp-controller kapp-controller -o yaml
and the annotation iskbld.k14s.io/images
):kubectl version
)Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: