Commit Graph

22 Commits (43cb32ab1c5466984a9701710ed154faa3f85b9f)

Author SHA1 Message Date
Chao Xu 2b2f285777 run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
Anish Bhatt 6e46fa1fd4 Add support for open-iscsi transports.
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".

Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
Tim Hockin dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
Anish Bhatt 6d9e9561e8 Fix extraneous entries in iscsi path format
Code comments currently claim the default iscsi mount path as

kubernetes.io/pod/iscsi/<portal>-iqn-<iqn>-lun-<id>, however actual
path being used is
kubernetes.io/iscsi/iscsi/<portal>-iqn-<iqn>-lun-<id>

This leads to ultimate path being similar to this :

kubernetes.io/iscsi/iscsi/...iqn-iqn...-lun-N

Both iscsi and iqn are repated twice for no reason, since "iqn" is
required by spec to be part of an iqn. This is also  wrong on
multiple leves as actual allowed naming formats are :

iqn.2001-04.com.example:storage:diskarrays-sn-a8675309
eui.02004567A425678D
(RFC 3720 3.2.6.3)

and in the second case "iqn-eui" in the path would be misleading.

Change this to a more reasonable path of
kubernetes.io/iscsi/<portal>-<iqn>-lun-<id>

which also aligns up with how the /dev/by-path and sysfs entries
are created for iscsi devices on linux

  * -- *

Update iSCSI README and sample json file

There seems to have been quite a skew in recent updates to these
files adding in wrong info or info that no longer lines up the
sample config with the README.

Fixed the following issues :
* Fix discrepancy in samples json using initiator iqn from previous
  linked example as target iqn (which was just wrong)
* Generate sample output and README from the same json config provided.
* Remove recommendation to edit initiator name, this is not required
  (open-iscsi warns against editing this manually and provides a utility
   for the same)
* Update docker inspect command to one that works.
* Use separate LUNs for separate mount points instead of re-using.
2015-10-13 10:08:52 -07:00
Eric Paris 024208e39f Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
Tim Hockin 33f1862830 Run gendocs 2015-07-17 15:35:43 -07:00
Daniel Smith f7873d2a1f apply changes 2015-07-17 11:04:46 -07:00
Tim Hockin 542e13d2d3 Better scary message 2015-07-17 09:28:49 -07:00
Tim Hockin f7512d007b Add munger to verify kubectl -f targets, fix docs 2015-07-16 15:39:45 -07:00
Tim Hockin 39b86908a1 Run gendocs 2015-07-14 17:28:47 -07:00
Tim Hockin 79f9cd7c83 Run gendocs 2015-07-14 15:28:59 -07:00
Daniel Smith 821e08fded Apply mungedocs changes 2015-07-13 17:48:40 -07:00
Chao Xu 5a8eef752f update the output of kubectl get pods in examples/iscsi 2015-07-07 16:43:39 -07:00
RichieEscarez 899145da10 Replaced (or defined first instance of) GKE/GCE with Google Container Engine/Google Compute Engine
Fixes #10354
2015-06-26 13:30:41 -07:00
Satnam Singh 02c3e9f8ec Merge pull request #10095 from swagiaal/iscsi-example
Minor fixups to iSCSI example.
2015-06-19 09:41:03 -07:00
Sami Wagiaalla ce40c4d7c2 Minor fixups to iSCSI example.
- Put the link for setting up the target before initiator link.
- Add a comment about removing the partition created in the linked
  tutorial.
- Change the settings in the pod to resemble those you would if you
  follow the tutorial

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-19 11:49:41 -04:00
Chao Xu d74e924204 upate examples/iscsi 2015-06-09 17:13:25 -07:00
Brendan Burns 9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Chao Xu 889647ac7b fix 2015-05-13 10:36:06 -07:00
Chao Xu 9d5ab52885 update example/iscsi to v1beta3;
add more instructions on how to setup iscsi target/initiator on GCE
2015-05-13 09:41:33 -07:00
Huamin Chen 7a82af31de add iscsi volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00