이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 3. Known Issues
This section describes issues that users of Red Hat Container Development Kit 3.6 may encounter, as well as possible workarounds for these issues.
3.1. General Issues 링크 복사링크가 클립보드에 복사되었습니다!
Issues affecting all supported platforms.
3.1.1. Check for requested OpenShift version fails 링크 복사링크가 클립보드에 복사되었습니다!
The pre-flight check used to verify the requested OpenShift version fails when running minishift start. This is due to deprecated support for the Docker v1 API which is used to verify the requested OpenShift version. For more information, see Deprecation of Docker v1 Content.
To work around this issue, run the following command:
minishift config set skip-check-openshift-release true
$ minishift config set skip-check-openshift-release true
3.2. Issues on macOS 링크 복사링크가 클립보드에 복사되었습니다!
This section describes CDK issues that affect users on a macOS host.
3.2.1. OpenShift web console does not work with older versions of Safari 링크 복사링크가 클립보드에 복사되었습니다!
minishift console does not work on older versions of the Safari web browser such as version 10.1.2 (12603.3.8). Attempting to access the web console results in the following error:
Error unable to load details about the server
Error unable to load details about the server
Retry after updating Safari to the latest version or use the Firefox or Chrome web browsers for this. Safari version 11.0.3 (13604.5.6) has been tested and works with the OpenShift web console. You can use minishift console --url to get the web console URL.
3.3. Issues on Microsoft Windows 링크 복사링크가 클립보드에 복사되었습니다!
This section describes CDK issues that affect users on a Microsoft Windows host.
3.3.1. Default Switch does not work as expected with static IP 링크 복사링크가 클립보드에 복사되었습니다!
The experimental static IP feature is not possible with the Default Switch provided by Windows. The minishift virtual machine will receive an IP address, but network traffic will not be able to pass through it.
See Assign IP Address to Hyper-V for more information about how to assign a static IP address to the minishift VM on Windows.
Windows Command Prompt and PowerShell have problems with parsing JSON into the minishift openshift config set command. Special attention is required when using this command on Windows.
The workaround for Windows Command Prompt environments is to escape the quotes so that the JSON content is correctly parsed:
minishift.exe openshift config set --patch "{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}"
C:\Users\CDK> minishift.exe openshift config set --patch "{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}"
The workaround for Windows PowerShell environments is to use a variable to store the JSON content:
PS C:\Users\CDK> $json='{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}'
PS C:\Users\CDK> echo $json
{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}
PS C:\Users\CDK> minishift.exe openshift config set --patch $json
Patching OpenShift configuration /var/lib/origin/openshift.local.config/master/master-config.yaml with {"routingConfig": {"subdomain": "192.168.99.101.nip.io"}}
PS C:\Users\CDK> $json='{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}'
PS C:\Users\CDK> echo $json
{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}
PS C:\Users\CDK> minishift.exe openshift config set --patch $json
Patching OpenShift configuration /var/lib/origin/openshift.local.config/master/master-config.yaml with {"routingConfig": {"subdomain": "192.168.99.101.nip.io"}}
3.3.3. minishift openshift config set --patch may fail on some Windows 7 and 10 hosts 링크 복사링크가 클립보드에 복사되었습니다!
The reason for this failure is currently unknown.
Workaround: Configure the OpenShift cluster from inside of the provisioned VM using minishift ssh:
minishift.exe ssh
C:\Users\CDK> minishift.exe ssh
[docker@minishift ~]$ docker exec -t origin /usr/bin/openshift ex config patch /var/lib/origin/openshift.local.config/master/master-config.yaml --patch='<json-to-be-applied-to-the-cluster>'