Bug 1951384
Summary: | Applications won't create properly on native K8S cluster | ||
---|---|---|---|
Product: | Red Hat Advanced Cluster Management for Kubernetes | Reporter: | Fran Kemp <francis.kemp> |
Component: | App Lifecycle | Assignee: | Xiangjing Li <xiangli> |
Status: | CLOSED ERRATA | QA Contact: | Eveline Cai <ecai> |
Severity: | high | Docs Contact: | bswope <bswope> |
Priority: | unspecified | ||
Version: | rhacm-2.2.z | CC: | xiangli |
Target Milestone: | --- | Flags: | ming:
rhacm-2.2.z+
ming: needinfo+ |
Target Release: | rhacm-2.2.3 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-04 20:14:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Fran Kemp
2021-04-20 03:25:09 UTC
G2Bsync 823365288 comment xiangjingli Tue, 20 Apr 2021 15:25:16 UTC G2Bsync The mariadb app has a openshift specific resource - `deploymentconfig.apps.openshift.io/mariadb` . This is not supported in native k8s cluster. that caused the app deployment success on OCP but failure on native ks8 cluster. This is not a ACM app lifecycle issue. To workaround this, need to wrap the application using the generic `deployment` KIND instead of OCP specific `deploymentconfig` KIND resource Thanks! - didn't notice that. I feel dumb now :) Just to confirm - there is no issue deploying applications from RHACM to a native K8S cluster as long as it is coded correctly. Correct? G2Bsync 824127299 comment xiangjingli Wed, 21 Apr 2021 14:55:12 UTC G2Bsync Yes, please make sure all the resource KINDs involved in the application should have their relative CRDs pre-deployed in the managed k8s cluster. If no, you can create another ACM subscription (subscriptions.apps.open-cluster-management.io ) to deploy the CRDs ahead of the real application resources deployment. Thanks - will do. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.2.3 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1499 |