Comments (6)
We tried a workaround to changing the api version from extensions to apps/v1 in templates/deployment.yaml and templates/ingress.yaml file and created the chart and tried installation but still getting failed with below error :
(lmctl-env) [root@puneteam-ocp44-ha5-inf vimdriver]# helm install os-vim-driver-2.1.0a2.issue51.tgz --name os-vim-driver --namespace lifecycle-manager -f custom-values.yml --tls --tiller-namespace $CS_NAMESPACE
Error: validation failed: unable to recognize "": no matches for kind "Ingress" in version "apps/v1"
from openstack-vim-driver.
now i am getting this error
(lmctl-env) [root@puneteam-ocp44-ha5-inf vimdriver]# helm install os-vim-driver-2.1.0a2.issue51.tgz --name os-vim-driver --namespace lifecycle-manager -f custom-values.yml --tls --tiller-namespace $CS_NAMESPACE
Error: release os-vim-driver failed: Deployment.apps "os-vim-driver" is invalid: [spec.selector: Required value, spec.template.metadata.labels: Invalid value: map[string]string{"app":"os-vim-driver", "part-of":"lm"}: selector does not match template labels]
from openstack-vim-driver.
In later versions of Kubernetes deployments I think you need to explicitly add the labels as selectors (so they match):
So the deployment.yaml file needs:
spec:
selector: # This is the new bit
matchLabels:
app: os-vim-driver
template: # Template remains as it is
metadata:
labels:
app: os-vim-driver
part-of: lm
spec:
from openstack-vim-driver.
Thanks @dvaccarosenna , we have installed as per above suggested instruction and its getting deployed now.
from openstack-vim-driver.
We need support for Kubernetes 1.13 onwards (to allow it to run in e.g. AIO as well as OCP) so some kind of switch could be used here e.g. by using
Capabilities.KubeVersion.Major and Capabilities.KubeVersion.Minor (see https://helm.sh/docs/chart_template_guide/builtin_objects/) to switch between the different apiVersions.
from openstack-vim-driver.
We need support for Kubernetes 1.13 onwards (to allow it to run in e.g. AIO as well as OCP) so some kind of switch could be used here e.g. by using
Capabilities.KubeVersion.Major and Capabilities.KubeVersion.Minor (see https://helm.sh/docs/chart_template_guide/builtin_objects/) to switch between the different apiVersions.
I made changes and tested on my AIO system (K8s 1.13) and it works as changed via PR 64
Also installs on OCP 4.5
from openstack-vim-driver.
Related Issues (20)
- Update develop branch version
- Fix Vulnerabilities
- Update Ignition Version to 3.4.1
- Update Document regarding using lock on instances HOT 1
- os-vim-driver Stack status 'SNAPSHOT_COMPLETE' is not an adoptable state.
- Fix CP4NA Vulnerability : expat - CVE-2022-43680 - High
- Update ignition version to 3.4.2
- Enable Logging for External Request & Response
- Update Ignition to latest version 3.5.1
- Mask password in Openstack VIM driver logs
- Build issue in openstack-vim-driver with 'rc' tag
- Assembly Instance creation failed in openstack vim driver with 3.3.0-rc1 pre-release image
- Support structured properties
- Update connection_address to iaf-system-kafka-bootstrap:9092 in driver values.yaml to be compatible with TNC-O installed with IAF
- Uplift dependency versions
- Graceful shutdown HOT 1
- Ingress removal
- update kafka connection address and pkg_info to use latest ignition
- Adding note for KAFKA address change
- Update install instructions for Openstack VIM Driver HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstack-vim-driver.