| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274 |
- ---
- # Builtin: "helm template" does not respect --create-namespace
- apiVersion: v1
- kind: Namespace
- metadata:
- name: longhorn-system
- ---
- # Source: longhorn/templates/serviceaccount.yaml
- apiVersion: v1
- kind: ServiceAccount
- metadata:
- name: longhorn-service-account
- namespace: longhorn-system
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- ---
- # Source: longhorn/templates/serviceaccount.yaml
- apiVersion: v1
- kind: ServiceAccount
- metadata:
- name: longhorn-support-bundle
- namespace: longhorn-system
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- ---
- # Source: longhorn/templates/default-setting.yaml
- apiVersion: v1
- kind: ConfigMap
- metadata:
- name: longhorn-default-setting
- namespace: longhorn-system
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- data:
- default-setting.yaml: |-
- ---
- # Source: longhorn/templates/storageclass.yaml
- apiVersion: v1
- kind: ConfigMap
- metadata:
- name: longhorn-storageclass
- namespace: longhorn-system
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- data:
- storageclass.yaml: |
- kind: StorageClass
- apiVersion: storage.k8s.io/v1
- metadata:
- name: longhorn
- annotations:
- storageclass.kubernetes.io/is-default-class: "true"
- provisioner: driver.longhorn.io
- allowVolumeExpansion: true
- reclaimPolicy: "Delete"
- volumeBindingMode: Immediate
- parameters:
- numberOfReplicas: "3"
- staleReplicaTimeout: "30"
- fromBackup: ""
- fsType: "ext4"
- dataLocality: "disabled"
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: backingimagedatasources.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: BackingImageDataSource
- listKind: BackingImageDataSourceList
- plural: backingimagedatasources
- shortNames:
- - lhbids
- singular: backingimagedatasource
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The current state of the pod used to provision the backing image file from source
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The data source type
- jsonPath: .spec.sourceType
- name: SourceType
- type: string
- - description: The node the backing image file will be prepared on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The disk the backing image file will be prepared on
- jsonPath: .spec.diskUUID
- name: DiskUUID
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: BackingImageDataSource is where Longhorn stores backing image data source object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The system generated UUID of the provisioned backing image file
- jsonPath: .spec.uuid
- name: UUID
- type: string
- - description: The current state of the pod used to provision the backing image file from source
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The data source type
- jsonPath: .spec.sourceType
- name: SourceType
- type: string
- - description: The backing image file size
- jsonPath: .status.size
- name: Size
- type: string
- - description: The node the backing image file will be prepared on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The disk the backing image file will be prepared on
- jsonPath: .spec.diskUUID
- name: DiskUUID
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: BackingImageDataSource is where Longhorn stores backing image data source object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: BackingImageDataSourceSpec defines the desired state of the Longhorn backing image data source
- properties:
- checksum:
- type: string
- diskPath:
- type: string
- diskUUID:
- type: string
- fileTransferred:
- type: boolean
- nodeID:
- type: string
- parameters:
- additionalProperties:
- type: string
- type: object
- sourceType:
- enum:
- - download
- - upload
- - export-from-volume
- type: string
- uuid:
- type: string
- type: object
- status:
- description: BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source
- properties:
- checksum:
- type: string
- currentState:
- type: string
- ip:
- type: string
- message:
- type: string
- ownerID:
- type: string
- progress:
- type: integer
- runningParameters:
- additionalProperties:
- type: string
- nullable: true
- type: object
- size:
- format: int64
- type: integer
- storageIP:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: backingimagemanagers.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: BackingImageManager
- listKind: BackingImageManagerList
- plural: backingimagemanagers
- shortNames:
- - lhbim
- singular: backingimagemanager
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The current state of the manager
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The image the manager pod will use
- jsonPath: .spec.image
- name: Image
- type: string
- - description: The node the manager is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The disk the manager is responsible for
- jsonPath: .spec.diskUUID
- name: DiskUUID
- type: string
- - description: The disk path the manager is using
- jsonPath: .spec.diskPath
- name: DiskPath
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: BackingImageManager is where Longhorn stores backing image manager object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The current state of the manager
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The image the manager pod will use
- jsonPath: .spec.image
- name: Image
- type: string
- - description: The node the manager is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The disk the manager is responsible for
- jsonPath: .spec.diskUUID
- name: DiskUUID
- type: string
- - description: The disk path the manager is using
- jsonPath: .spec.diskPath
- name: DiskPath
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: BackingImageManager is where Longhorn stores backing image manager object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: BackingImageManagerSpec defines the desired state of the Longhorn backing image manager
- properties:
- backingImages:
- additionalProperties:
- type: string
- type: object
- diskPath:
- type: string
- diskUUID:
- type: string
- image:
- type: string
- nodeID:
- type: string
- type: object
- status:
- description: BackingImageManagerStatus defines the observed state of the Longhorn backing image manager
- properties:
- apiMinVersion:
- type: integer
- apiVersion:
- type: integer
- backingImageFileMap:
- additionalProperties:
- properties:
- currentChecksum:
- type: string
- directory:
- description: 'Deprecated: This field is useless.'
- type: string
- downloadProgress:
- description: 'Deprecated: This field is renamed to `Progress`.'
- type: integer
- message:
- type: string
- name:
- type: string
- progress:
- type: integer
- senderManagerAddress:
- type: string
- sendingReference:
- type: integer
- size:
- format: int64
- type: integer
- state:
- type: string
- url:
- description: 'Deprecated: This field is useless now. The manager of backing image files doesn''t care if a file is downloaded and how.'
- type: string
- uuid:
- type: string
- type: object
- nullable: true
- type: object
- currentState:
- type: string
- ip:
- type: string
- ownerID:
- type: string
- storageIP:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: backingimages.longhorn.io
- spec:
- conversion:
- strategy: Webhook
- webhook:
- clientConfig:
- service:
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- path: /v1/webhook/conversion
- port: 9443
- conversionReviewVersions:
- - v1beta2
- - v1beta1
- group: longhorn.io
- names:
- kind: BackingImage
- listKind: BackingImageList
- plural: backingimages
- shortNames:
- - lhbi
- singular: backingimage
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The backing image name
- jsonPath: .spec.image
- name: Image
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: BackingImage is where Longhorn stores backing image object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The system generated UUID
- jsonPath: .status.uuid
- name: UUID
- type: string
- - description: The source of the backing image file data
- jsonPath: .spec.sourceType
- name: SourceType
- type: string
- - description: The backing image file size in each disk
- jsonPath: .status.size
- name: Size
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: BackingImage is where Longhorn stores backing image object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: BackingImageSpec defines the desired state of the Longhorn backing image
- properties:
- checksum:
- type: string
- disks:
- additionalProperties:
- type: string
- type: object
- imageURL:
- description: 'Deprecated: This kind of info will be included in the related BackingImageDataSource.'
- type: string
- sourceParameters:
- additionalProperties:
- type: string
- type: object
- sourceType:
- enum:
- - download
- - upload
- - export-from-volume
- type: string
- type: object
- status:
- description: BackingImageStatus defines the observed state of the Longhorn backing image status
- properties:
- checksum:
- type: string
- diskDownloadProgressMap:
- additionalProperties:
- type: integer
- description: 'Deprecated: Replaced by field `Progress` in `DiskFileStatusMap`.'
- nullable: true
- type: object
- diskDownloadStateMap:
- additionalProperties:
- description: BackingImageDownloadState is replaced by BackingImageState.
- type: string
- description: 'Deprecated: Replaced by field `State` in `DiskFileStatusMap`.'
- nullable: true
- type: object
- diskFileStatusMap:
- additionalProperties:
- properties:
- lastStateTransitionTime:
- type: string
- message:
- type: string
- progress:
- type: integer
- state:
- type: string
- type: object
- nullable: true
- type: object
- diskLastRefAtMap:
- additionalProperties:
- type: string
- nullable: true
- type: object
- ownerID:
- type: string
- size:
- format: int64
- type: integer
- uuid:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: backups.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: Backup
- listKind: BackupList
- plural: backups
- shortNames:
- - lhb
- singular: backup
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The snapshot name
- jsonPath: .status.snapshotName
- name: SnapshotName
- type: string
- - description: The snapshot size
- jsonPath: .status.size
- name: SnapshotSize
- type: string
- - description: The snapshot creation time
- jsonPath: .status.snapshotCreatedAt
- name: SnapshotCreatedAt
- type: string
- - description: The backup state
- jsonPath: .status.state
- name: State
- type: string
- - description: The backup last synced time
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: Backup is where Longhorn stores backup object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The snapshot name
- jsonPath: .status.snapshotName
- name: SnapshotName
- type: string
- - description: The snapshot size
- jsonPath: .status.size
- name: SnapshotSize
- type: string
- - description: The snapshot creation time
- jsonPath: .status.snapshotCreatedAt
- name: SnapshotCreatedAt
- type: string
- - description: The backup state
- jsonPath: .status.state
- name: State
- type: string
- - description: The backup last synced time
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Backup is where Longhorn stores backup object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: BackupSpec defines the desired state of the Longhorn backup
- properties:
- labels:
- additionalProperties:
- type: string
- description: The labels of snapshot backup.
- type: object
- snapshotName:
- description: The snapshot name.
- type: string
- syncRequestedAt:
- description: The time to request run sync the remote backup.
- format: date-time
- nullable: true
- type: string
- type: object
- status:
- description: BackupStatus defines the observed state of the Longhorn backup
- properties:
- backupCreatedAt:
- description: The snapshot backup upload finished time.
- type: string
- error:
- description: The error message when taking the snapshot backup.
- type: string
- labels:
- additionalProperties:
- type: string
- description: The labels of snapshot backup.
- nullable: true
- type: object
- lastSyncedAt:
- description: The last time that the backup was synced with the remote backup target.
- format: date-time
- nullable: true
- type: string
- messages:
- additionalProperties:
- type: string
- description: The error messages when calling longhorn engine on listing or inspecting backups.
- nullable: true
- type: object
- ownerID:
- description: The node ID on which the controller is responsible to reconcile this backup CR.
- type: string
- progress:
- description: The snapshot backup progress.
- type: integer
- replicaAddress:
- description: The address of the replica that runs snapshot backup.
- type: string
- size:
- description: The snapshot size.
- type: string
- snapshotCreatedAt:
- description: The snapshot creation time.
- type: string
- snapshotName:
- description: The snapshot name.
- type: string
- state:
- description: The backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown".
- type: string
- url:
- description: The snapshot backup URL.
- type: string
- volumeBackingImageName:
- description: The volume's backing image name.
- type: string
- volumeCreated:
- description: The volume creation time.
- type: string
- volumeName:
- description: The volume name.
- type: string
- volumeSize:
- description: The volume size.
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: backuptargets.longhorn.io
- spec:
- conversion:
- strategy: Webhook
- webhook:
- clientConfig:
- service:
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- path: /v1/webhook/conversion
- port: 9443
- conversionReviewVersions:
- - v1beta2
- - v1beta1
- group: longhorn.io
- names:
- kind: BackupTarget
- listKind: BackupTargetList
- plural: backuptargets
- shortNames:
- - lhbt
- singular: backuptarget
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The backup target URL
- jsonPath: .spec.backupTargetURL
- name: URL
- type: string
- - description: The backup target credential secret
- jsonPath: .spec.credentialSecret
- name: Credential
- type: string
- - description: The backup target poll interval
- jsonPath: .spec.pollInterval
- name: LastBackupAt
- type: string
- - description: Indicate whether the backup target is available or not
- jsonPath: .status.available
- name: Available
- type: boolean
- - description: The backup target last synced time
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: BackupTarget is where Longhorn stores backup target object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The backup target URL
- jsonPath: .spec.backupTargetURL
- name: URL
- type: string
- - description: The backup target credential secret
- jsonPath: .spec.credentialSecret
- name: Credential
- type: string
- - description: The backup target poll interval
- jsonPath: .spec.pollInterval
- name: LastBackupAt
- type: string
- - description: Indicate whether the backup target is available or not
- jsonPath: .status.available
- name: Available
- type: boolean
- - description: The backup target last synced time
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: BackupTarget is where Longhorn stores backup target object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: BackupTargetSpec defines the desired state of the Longhorn backup target
- properties:
- backupTargetURL:
- description: The backup target URL.
- type: string
- credentialSecret:
- description: The backup target credential secret.
- type: string
- pollInterval:
- description: The interval that the cluster needs to run sync with the backup target.
- type: string
- syncRequestedAt:
- description: The time to request run sync the remote backup target.
- format: date-time
- nullable: true
- type: string
- type: object
- status:
- description: BackupTargetStatus defines the observed state of the Longhorn backup target
- properties:
- available:
- description: Available indicates if the remote backup target is available or not.
- type: boolean
- conditions:
- description: Records the reason on why the backup target is unavailable.
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- lastSyncedAt:
- description: The last time that the controller synced with the remote backup target.
- format: date-time
- nullable: true
- type: string
- ownerID:
- description: The node ID on which the controller is responsible to reconcile this backup target CR.
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: backupvolumes.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: BackupVolume
- listKind: BackupVolumeList
- plural: backupvolumes
- shortNames:
- - lhbv
- singular: backupvolume
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The backup volume creation time
- jsonPath: .status.createdAt
- name: CreatedAt
- type: string
- - description: The backup volume last backup name
- jsonPath: .status.lastBackupName
- name: LastBackupName
- type: string
- - description: The backup volume last backup time
- jsonPath: .status.lastBackupAt
- name: LastBackupAt
- type: string
- - description: The backup volume last synced time
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: BackupVolume is where Longhorn stores backup volume object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The backup volume creation time
- jsonPath: .status.createdAt
- name: CreatedAt
- type: string
- - description: The backup volume last backup name
- jsonPath: .status.lastBackupName
- name: LastBackupName
- type: string
- - description: The backup volume last backup time
- jsonPath: .status.lastBackupAt
- name: LastBackupAt
- type: string
- - description: The backup volume last synced time
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: BackupVolume is where Longhorn stores backup volume object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: BackupVolumeSpec defines the desired state of the Longhorn backup volume
- properties:
- syncRequestedAt:
- description: The time to request run sync the remote backup volume.
- format: date-time
- nullable: true
- type: string
- type: object
- status:
- description: BackupVolumeStatus defines the observed state of the Longhorn backup volume
- properties:
- backingImageChecksum:
- description: the backing image checksum.
- type: string
- backingImageName:
- description: The backing image name.
- type: string
- createdAt:
- description: The backup volume creation time.
- type: string
- dataStored:
- description: The backup volume block count.
- type: string
- labels:
- additionalProperties:
- type: string
- description: The backup volume labels.
- nullable: true
- type: object
- lastBackupAt:
- description: The latest volume backup time.
- type: string
- lastBackupName:
- description: The latest volume backup name.
- type: string
- lastModificationTime:
- description: The backup volume config last modification time.
- format: date-time
- nullable: true
- type: string
- lastSyncedAt:
- description: The last time that the backup volume was synced into the cluster.
- format: date-time
- nullable: true
- type: string
- messages:
- additionalProperties:
- type: string
- description: The error messages when call longhorn engine on list or inspect backup volumes.
- nullable: true
- type: object
- ownerID:
- description: The node ID on which the controller is responsible to reconcile this backup volume CR.
- type: string
- size:
- description: The backup volume size.
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: engineimages.longhorn.io
- spec:
- preserveUnknownFields: false
- conversion:
- strategy: Webhook
- webhook:
- clientConfig:
- service:
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- path: /v1/webhook/conversion
- port: 9443
- conversionReviewVersions:
- - v1beta2
- - v1beta1
- group: longhorn.io
- names:
- kind: EngineImage
- listKind: EngineImageList
- plural: engineimages
- shortNames:
- - lhei
- singular: engineimage
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: State of the engine image
- jsonPath: .status.state
- name: State
- type: string
- - description: The Longhorn engine image
- jsonPath: .spec.image
- name: Image
- type: string
- - description: Number of resources using the engine image
- jsonPath: .status.refCount
- name: RefCount
- type: integer
- - description: The build date of the engine image
- jsonPath: .status.buildDate
- name: BuildDate
- type: date
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: EngineImage is where Longhorn stores engine image object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: State of the engine image
- jsonPath: .status.state
- name: State
- type: string
- - description: The Longhorn engine image
- jsonPath: .spec.image
- name: Image
- type: string
- - description: Number of resources using the engine image
- jsonPath: .status.refCount
- name: RefCount
- type: integer
- - description: The build date of the engine image
- jsonPath: .status.buildDate
- name: BuildDate
- type: date
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: EngineImage is where Longhorn stores engine image object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: EngineImageSpec defines the desired state of the Longhorn engine image
- properties:
- image:
- minLength: 1
- type: string
- required:
- - image
- type: object
- status:
- description: EngineImageStatus defines the observed state of the Longhorn engine image
- properties:
- buildDate:
- type: string
- cliAPIMinVersion:
- type: integer
- cliAPIVersion:
- type: integer
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- controllerAPIMinVersion:
- type: integer
- controllerAPIVersion:
- type: integer
- dataFormatMinVersion:
- type: integer
- dataFormatVersion:
- type: integer
- gitCommit:
- type: string
- noRefSince:
- type: string
- nodeDeploymentMap:
- additionalProperties:
- type: boolean
- nullable: true
- type: object
- ownerID:
- type: string
- refCount:
- type: integer
- state:
- type: string
- version:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: engines.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: Engine
- listKind: EngineList
- plural: engines
- shortNames:
- - lhe
- singular: engine
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The current state of the engine
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The node that the engine is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The instance manager of the engine
- jsonPath: .status.instanceManagerName
- name: InstanceManager
- type: string
- - description: The current image of the engine
- jsonPath: .status.currentImage
- name: Image
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: Engine is where Longhorn stores engine object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The current state of the engine
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The node that the engine is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The instance manager of the engine
- jsonPath: .status.instanceManagerName
- name: InstanceManager
- type: string
- - description: The current image of the engine
- jsonPath: .status.currentImage
- name: Image
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Engine is where Longhorn stores engine object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: EngineSpec defines the desired state of the Longhorn engine
- properties:
- active:
- type: boolean
- backupVolume:
- type: string
- desireState:
- type: string
- disableFrontend:
- type: boolean
- engineImage:
- type: string
- frontend:
- enum:
- - blockdev
- - iscsi
- - ""
- type: string
- logRequested:
- type: boolean
- nodeID:
- type: string
- replicaAddressMap:
- additionalProperties:
- type: string
- type: object
- requestedBackupRestore:
- type: string
- requestedDataSource:
- type: string
- revisionCounterDisabled:
- type: boolean
- salvageRequested:
- type: boolean
- unmapMarkSnapChainRemovedEnabled:
- type: boolean
- upgradedReplicaAddressMap:
- additionalProperties:
- type: string
- type: object
- volumeName:
- type: string
- volumeSize:
- format: int64
- type: string
- type: object
- status:
- description: EngineStatus defines the observed state of the Longhorn engine
- properties:
- backupStatus:
- additionalProperties:
- properties:
- backupURL:
- type: string
- error:
- type: string
- progress:
- type: integer
- replicaAddress:
- type: string
- snapshotName:
- type: string
- state:
- type: string
- type: object
- nullable: true
- type: object
- cloneStatus:
- additionalProperties:
- properties:
- error:
- type: string
- fromReplicaAddress:
- type: string
- isCloning:
- type: boolean
- progress:
- type: integer
- snapshotName:
- type: string
- state:
- type: string
- type: object
- nullable: true
- type: object
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- currentImage:
- type: string
- currentReplicaAddressMap:
- additionalProperties:
- type: string
- nullable: true
- type: object
- currentSize:
- format: int64
- type: string
- currentState:
- type: string
- endpoint:
- type: string
- instanceManagerName:
- type: string
- ip:
- type: string
- isExpanding:
- type: boolean
- lastExpansionError:
- type: string
- lastExpansionFailedAt:
- type: string
- lastRestoredBackup:
- type: string
- logFetched:
- type: boolean
- ownerID:
- type: string
- port:
- type: integer
- purgeStatus:
- additionalProperties:
- properties:
- error:
- type: string
- isPurging:
- type: boolean
- progress:
- type: integer
- state:
- type: string
- type: object
- nullable: true
- type: object
- rebuildStatus:
- additionalProperties:
- properties:
- error:
- type: string
- fromReplicaAddress:
- type: string
- isRebuilding:
- type: boolean
- progress:
- type: integer
- state:
- type: string
- type: object
- nullable: true
- type: object
- replicaModeMap:
- additionalProperties:
- type: string
- nullable: true
- type: object
- restoreStatus:
- additionalProperties:
- properties:
- backupURL:
- type: string
- currentRestoringBackup:
- type: string
- error:
- type: string
- filename:
- type: string
- isRestoring:
- type: boolean
- lastRestored:
- type: string
- progress:
- type: integer
- state:
- type: string
- type: object
- nullable: true
- type: object
- salvageExecuted:
- type: boolean
- snapshots:
- additionalProperties:
- properties:
- children:
- additionalProperties:
- type: boolean
- nullable: true
- type: object
- created:
- type: string
- labels:
- additionalProperties:
- type: string
- nullable: true
- type: object
- name:
- type: string
- parent:
- type: string
- removed:
- type: boolean
- size:
- type: string
- usercreated:
- type: boolean
- type: object
- nullable: true
- type: object
- snapshotsError:
- type: string
- started:
- type: boolean
- storageIP:
- type: string
- unmapMarkSnapChainRemovedEnabled:
- type: boolean
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: instancemanagers.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: InstanceManager
- listKind: InstanceManagerList
- plural: instancemanagers
- shortNames:
- - lhim
- singular: instancemanager
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The state of the instance manager
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The type of the instance manager (engine or replica)
- jsonPath: .spec.type
- name: Type
- type: string
- - description: The node that the instance manager is running on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: InstanceManager is where Longhorn stores instance manager object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The state of the instance manager
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The type of the instance manager (engine or replica)
- jsonPath: .spec.type
- name: Type
- type: string
- - description: The node that the instance manager is running on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: InstanceManager is where Longhorn stores instance manager object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager
- properties:
- engineImage:
- description: 'TODO: deprecate this field'
- type: string
- image:
- type: string
- nodeID:
- type: string
- type:
- enum:
- - engine
- - replica
- type: string
- type: object
- status:
- description: InstanceManagerStatus defines the observed state of the Longhorn instance manager
- properties:
- apiMinVersion:
- type: integer
- apiVersion:
- type: integer
- proxyApiMinVersion:
- type: integer
- proxyApiVersion:
- type: integer
- currentState:
- type: string
- instances:
- additionalProperties:
- properties:
- spec:
- properties:
- name:
- type: string
- type: object
- status:
- properties:
- endpoint:
- type: string
- errorMsg:
- type: string
- listen:
- type: string
- portEnd:
- format: int32
- type: integer
- portStart:
- format: int32
- type: integer
- resourceVersion:
- format: int64
- type: integer
- state:
- type: string
- type:
- type: string
- type: object
- type: object
- nullable: true
- type: object
- ip:
- type: string
- ownerID:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: nodes.longhorn.io
- spec:
- preserveUnknownFields: false
- conversion:
- strategy: Webhook
- webhook:
- clientConfig:
- service:
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- path: /v1/webhook/conversion
- port: 9443
- conversionReviewVersions:
- - v1beta2
- - v1beta1
- group: longhorn.io
- names:
- kind: Node
- listKind: NodeList
- plural: nodes
- shortNames:
- - lhn
- singular: node
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: Indicate whether the node is ready
- jsonPath: .status.conditions['Ready']['status']
- name: Ready
- type: string
- - description: Indicate whether the user disabled/enabled replica scheduling for the node
- jsonPath: .spec.allowScheduling
- name: AllowScheduling
- type: boolean
- - description: Indicate whether Longhorn can schedule replicas on the node
- jsonPath: .status.conditions['Schedulable']['status']
- name: Schedulable
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: Node is where Longhorn stores Longhorn node object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: Indicate whether the node is ready
- jsonPath: .status.conditions[?(@.type=='Ready')].status
- name: Ready
- type: string
- - description: Indicate whether the user disabled/enabled replica scheduling for the node
- jsonPath: .spec.allowScheduling
- name: AllowScheduling
- type: boolean
- - description: Indicate whether Longhorn can schedule replicas on the node
- jsonPath: .status.conditions[?(@.type=='Schedulable')].status
- name: Schedulable
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Node is where Longhorn stores Longhorn node object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: NodeSpec defines the desired state of the Longhorn node
- properties:
- allowScheduling:
- type: boolean
- disks:
- additionalProperties:
- properties:
- allowScheduling:
- type: boolean
- evictionRequested:
- type: boolean
- path:
- type: string
- storageReserved:
- format: int64
- type: integer
- tags:
- items:
- type: string
- type: array
- type: object
- type: object
- engineManagerCPURequest:
- type: integer
- evictionRequested:
- type: boolean
- name:
- type: string
- replicaManagerCPURequest:
- type: integer
- tags:
- items:
- type: string
- type: array
- type: object
- status:
- description: NodeStatus defines the observed state of the Longhorn node
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- diskStatus:
- additionalProperties:
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- diskUUID:
- type: string
- scheduledReplica:
- additionalProperties:
- format: int64
- type: integer
- nullable: true
- type: object
- storageAvailable:
- format: int64
- type: integer
- storageMaximum:
- format: int64
- type: integer
- storageScheduled:
- format: int64
- type: integer
- type: object
- nullable: true
- type: object
- region:
- type: string
- snapshotCheckStatus:
- properties:
- lastPeriodicCheckedAt:
- format: date-time
- type: string
- snapshotCheckState:
- type: string
- type: object
- zone:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: orphans.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: Orphan
- listKind: OrphanList
- plural: orphans
- shortNames:
- - lho
- singular: orphan
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The type of the orphan
- jsonPath: .spec.orphanType
- name: Type
- type: string
- - description: The node that the orphan is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Orphan is where Longhorn stores orphan object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: OrphanSpec defines the desired state of the Longhorn orphaned data
- properties:
- nodeID:
- description: The node ID on which the controller is responsible to reconcile this orphan CR.
- type: string
- orphanType:
- description: The type of the orphaned data. Can be "replica".
- type: string
- parameters:
- additionalProperties:
- type: string
- description: The parameters of the orphaned data
- type: object
- type: object
- status:
- description: OrphanStatus defines the observed state of the Longhorn orphaned data
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- ownerID:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- longhorn-manager: ""
- name: recurringjobs.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: RecurringJob
- listKind: RecurringJobList
- plural: recurringjobs
- shortNames:
- - lhrj
- singular: recurringjob
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: Sets groupings to the jobs. When set to "default" group will be added to the volume label when no other job label exist in volume
- jsonPath: .spec.groups
- name: Groups
- type: string
- - description: Should be one of "backup" or "snapshot"
- jsonPath: .spec.task
- name: Task
- type: string
- - description: The cron expression represents recurring job scheduling
- jsonPath: .spec.cron
- name: Cron
- type: string
- - description: The number of snapshots/backups to keep for the volume
- jsonPath: .spec.retain
- name: Retain
- type: integer
- - description: The concurrent job to run by each cron job
- jsonPath: .spec.concurrency
- name: Concurrency
- type: integer
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- - description: Specify the labels
- jsonPath: .spec.labels
- name: Labels
- type: string
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: RecurringJob is where Longhorn stores recurring job object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: Sets groupings to the jobs. When set to "default" group will be added to the volume label when no other job label exist in volume
- jsonPath: .spec.groups
- name: Groups
- type: string
- - description: Should be one of "backup" or "snapshot"
- jsonPath: .spec.task
- name: Task
- type: string
- - description: The cron expression represents recurring job scheduling
- jsonPath: .spec.cron
- name: Cron
- type: string
- - description: The number of snapshots/backups to keep for the volume
- jsonPath: .spec.retain
- name: Retain
- type: integer
- - description: The concurrent job to run by each cron job
- jsonPath: .spec.concurrency
- name: Concurrency
- type: integer
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- - description: Specify the labels
- jsonPath: .spec.labels
- name: Labels
- type: string
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: RecurringJob is where Longhorn stores recurring job object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: RecurringJobSpec defines the desired state of the Longhorn recurring job
- properties:
- concurrency:
- description: The concurrency of taking the snapshot/backup.
- type: integer
- cron:
- description: The cron setting.
- type: string
- groups:
- description: The recurring job group.
- items:
- type: string
- type: array
- labels:
- additionalProperties:
- type: string
- description: The label of the snapshot/backup.
- type: object
- name:
- description: The recurring job name.
- type: string
- retain:
- description: The retain count of the snapshot/backup.
- type: integer
- task:
- description: The recurring job type. Can be "snapshot" or "backup".
- enum:
- - snapshot
- - backup
- type: string
- type: object
- status:
- description: RecurringJobStatus defines the observed state of the Longhorn recurring job
- properties:
- ownerID:
- description: The owner ID which is responsible to reconcile this recurring job CR.
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: replicas.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: Replica
- listKind: ReplicaList
- plural: replicas
- shortNames:
- - lhr
- singular: replica
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The current state of the replica
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The node that the replica is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The disk that the replica is on
- jsonPath: .spec.diskID
- name: Disk
- type: string
- - description: The instance manager of the replica
- jsonPath: .status.instanceManagerName
- name: InstanceManager
- type: string
- - description: The current image of the replica
- jsonPath: .status.currentImage
- name: Image
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: Replica is where Longhorn stores replica object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The current state of the replica
- jsonPath: .status.currentState
- name: State
- type: string
- - description: The node that the replica is on
- jsonPath: .spec.nodeID
- name: Node
- type: string
- - description: The disk that the replica is on
- jsonPath: .spec.diskID
- name: Disk
- type: string
- - description: The instance manager of the replica
- jsonPath: .status.instanceManagerName
- name: InstanceManager
- type: string
- - description: The current image of the replica
- jsonPath: .status.currentImage
- name: Image
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Replica is where Longhorn stores replica object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: ReplicaSpec defines the desired state of the Longhorn replica
- properties:
- active:
- type: boolean
- backingImage:
- type: string
- baseImage:
- description: Deprecated. Rename to BackingImage
- type: string
- dataDirectoryName:
- type: string
- dataPath:
- description: Deprecated
- type: string
- desireState:
- type: string
- diskID:
- type: string
- diskPath:
- type: string
- engineImage:
- type: string
- engineName:
- type: string
- failedAt:
- type: string
- hardNodeAffinity:
- type: string
- healthyAt:
- type: string
- logRequested:
- type: boolean
- nodeID:
- type: string
- rebuildRetryCount:
- type: integer
- revisionCounterDisabled:
- type: boolean
- salvageRequested:
- type: boolean
- unmapMarkDiskChainRemovedEnabled:
- type: boolean
- volumeName:
- type: string
- volumeSize:
- format: int64
- type: string
- type: object
- status:
- description: ReplicaStatus defines the observed state of the Longhorn replica
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- currentImage:
- type: string
- currentState:
- type: string
- evictionRequested:
- type: boolean
- instanceManagerName:
- type: string
- ip:
- type: string
- logFetched:
- type: boolean
- ownerID:
- type: string
- port:
- type: integer
- salvageExecuted:
- type: boolean
- started:
- type: boolean
- storageIP:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: settings.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: Setting
- listKind: SettingList
- plural: settings
- shortNames:
- - lhs
- singular: setting
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The value of the setting
- jsonPath: .value
- name: Value
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: Setting is where Longhorn stores setting object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- value:
- type: string
- required:
- - value
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The value of the setting
- jsonPath: .value
- name: Value
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Setting is where Longhorn stores setting object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- value:
- type: string
- required:
- - value
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: sharemanagers.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: ShareManager
- listKind: ShareManagerList
- plural: sharemanagers
- shortNames:
- - lhsm
- singular: sharemanager
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The state of the share manager
- jsonPath: .status.state
- name: State
- type: string
- - description: The node that the share manager is owned by
- jsonPath: .status.ownerID
- name: Node
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: ShareManager is where Longhorn stores share manager object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The state of the share manager
- jsonPath: .status.state
- name: State
- type: string
- - description: The node that the share manager is owned by
- jsonPath: .status.ownerID
- name: Node
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: ShareManager is where Longhorn stores share manager object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: ShareManagerSpec defines the desired state of the Longhorn share manager
- properties:
- image:
- type: string
- type: object
- status:
- description: ShareManagerStatus defines the observed state of the Longhorn share manager
- properties:
- endpoint:
- type: string
- ownerID:
- type: string
- state:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: snapshots.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: Snapshot
- listKind: SnapshotList
- plural: snapshots
- shortNames:
- - lhsnap
- singular: snapshot
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The volume that this snapshot belongs to
- jsonPath: .spec.volume
- name: Volume
- type: string
- - description: Timestamp when the point-in-time snapshot was taken
- jsonPath: .status.creationTime
- name: CreationTime
- type: string
- - description: Indicates if the snapshot is ready to be used to restore/backup a volume
- jsonPath: .status.readyToUse
- name: ReadyToUse
- type: boolean
- - description: Represents the minimum size of volume required to rehydrate from this snapshot
- jsonPath: .status.restoreSize
- name: RestoreSize
- type: string
- - description: The actual size of the snapshot
- jsonPath: .status.size
- name: Size
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Snapshot is the Schema for the snapshots API
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: SnapshotSpec defines the desired state of Longhorn Snapshot
- properties:
- createSnapshot:
- description: require creating a new snapshot
- type: boolean
- labels:
- additionalProperties:
- type: string
- description: The labels of snapshot
- nullable: true
- type: object
- volume:
- description: the volume that this snapshot belongs to. This field is immutable after creation. Required
- type: string
- required:
- - volume
- type: object
- status:
- description: SnapshotStatus defines the observed state of Longhorn Snapshot
- properties:
- checksum:
- type: string
- children:
- additionalProperties:
- type: boolean
- nullable: true
- type: object
- creationTime:
- type: string
- error:
- type: string
- labels:
- additionalProperties:
- type: string
- nullable: true
- type: object
- markRemoved:
- type: boolean
- ownerID:
- type: string
- parent:
- type: string
- readyToUse:
- type: boolean
- restoreSize:
- format: int64
- type: integer
- size:
- format: int64
- type: integer
- userCreated:
- type: boolean
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: supportbundles.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: SupportBundle
- listKind: SupportBundleList
- plural: supportbundles
- shortNames:
- - lhbundle
- singular: supportbundle
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The state of the support bundle
- jsonPath: .status.state
- name: State
- type: string
- - description: The issue URL
- jsonPath: .spec.issueURL
- name: Issue
- type: string
- - description: A brief description of the issue
- jsonPath: .spec.description
- name: Description
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: SupportBundle is where Longhorn stores support bundle object
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: SupportBundleSpec defines the desired state of the Longhorn SupportBundle
- properties:
- description:
- description: A brief description of the issue
- type: string
- issueURL:
- description: The issue URL
- nullable: true
- type: string
- nodeID:
- description: The preferred responsible controller node ID.
- type: string
- required:
- - description
- type: object
- status:
- description: SupportBundleStatus defines the observed state of the Longhorn SupportBundle
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- type: array
- filename:
- type: string
- filesize:
- format: int64
- type: integer
- image:
- description: The support bundle manager image
- type: string
- managerIP:
- description: The support bundle manager IP
- type: string
- ownerID:
- description: The current responsible controller node ID
- type: string
- progress:
- type: integer
- state:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: systembackups.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: SystemBackup
- listKind: SystemBackupList
- plural: systembackups
- shortNames:
- - lhsb
- singular: systembackup
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The system backup Longhorn version
- jsonPath: .status.version
- name: Version
- type: string
- - description: The system backup state
- jsonPath: .status.state
- name: State
- type: string
- - description: The system backup creation time
- jsonPath: .status.createdAt
- name: Created
- type: string
- - description: The last time that the system backup was synced into the cluster
- jsonPath: .status.lastSyncedAt
- name: LastSyncedAt
- type: string
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: SystemBackup is where Longhorn stores system backup object
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: SystemBackupSpec defines the desired state of the Longhorn SystemBackup
- type: object
- status:
- description: SystemBackupStatus defines the observed state of the Longhorn SystemBackup
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- createdAt:
- description: The system backup creation time.
- format: date-time
- type: string
- gitCommit:
- description: The saved Longhorn manager git commit.
- nullable: true
- type: string
- lastSyncedAt:
- description: The last time that the system backup was synced into the cluster.
- format: date-time
- nullable: true
- type: string
- managerImage:
- description: The saved manager image.
- type: string
- ownerID:
- description: The node ID of the responsible controller to reconcile this SystemBackup.
- type: string
- state:
- description: The system backup state.
- type: string
- version:
- description: The saved Longhorn version.
- nullable: true
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: systemrestores.longhorn.io
- spec:
- group: longhorn.io
- names:
- kind: SystemRestore
- listKind: SystemRestoreList
- plural: systemrestores
- shortNames:
- - lhsr
- singular: systemrestore
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The system restore state
- jsonPath: .status.state
- name: State
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: SystemRestore is where Longhorn stores system restore object
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: SystemRestoreSpec defines the desired state of the Longhorn SystemRestore
- properties:
- systemBackup:
- description: The system backup name in the object store.
- type: string
- required:
- - systemBackup
- type: object
- status:
- description: SystemRestoreStatus defines the observed state of the Longhorn SystemRestore
- properties:
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- ownerID:
- description: The node ID of the responsible controller to reconcile this SystemRestore.
- type: string
- sourceURL:
- description: The source system backup URL.
- type: string
- state:
- description: The system restore state.
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/crds.yaml
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- longhorn-manager: ""
- name: volumes.longhorn.io
- spec:
- preserveUnknownFields: false
- conversion:
- strategy: Webhook
- webhook:
- clientConfig:
- service:
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- path: /v1/webhook/conversion
- port: 9443
- conversionReviewVersions:
- - v1beta2
- - v1beta1
- group: longhorn.io
- names:
- kind: Volume
- listKind: VolumeList
- plural: volumes
- shortNames:
- - lhv
- singular: volume
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - description: The state of the volume
- jsonPath: .status.state
- name: State
- type: string
- - description: The robustness of the volume
- jsonPath: .status.robustness
- name: Robustness
- type: string
- - description: The scheduled condition of the volume
- jsonPath: .status.conditions['scheduled']['status']
- name: Scheduled
- type: string
- - description: The size of the volume
- jsonPath: .spec.size
- name: Size
- type: string
- - description: The node that the volume is currently attaching to
- jsonPath: .status.currentNodeID
- name: Node
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta1
- schema:
- openAPIV3Schema:
- description: Volume is where Longhorn stores volume object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- x-kubernetes-preserve-unknown-fields: true
- status:
- x-kubernetes-preserve-unknown-fields: true
- type: object
- served: true
- storage: false
- subresources:
- status: {}
- - additionalPrinterColumns:
- - description: The state of the volume
- jsonPath: .status.state
- name: State
- type: string
- - description: The robustness of the volume
- jsonPath: .status.robustness
- name: Robustness
- type: string
- - description: The scheduled condition of the volume
- jsonPath: .status.conditions[?(@.type=='Schedulable')].status
- name: Scheduled
- type: string
- - description: The size of the volume
- jsonPath: .spec.size
- name: Size
- type: string
- - description: The node that the volume is currently attaching to
- jsonPath: .status.currentNodeID
- name: Node
- type: string
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- description: Volume is where Longhorn stores volume object.
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: VolumeSpec defines the desired state of the Longhorn volume
- properties:
- Standby:
- type: boolean
- accessMode:
- enum:
- - rwo
- - rwx
- type: string
- backingImage:
- type: string
- baseImage:
- description: Deprecated. Rename to BackingImage
- type: string
- dataLocality:
- enum:
- - disabled
- - best-effort
- - strict-local
- type: string
- dataSource:
- type: string
- disableFrontend:
- type: boolean
- diskSelector:
- items:
- type: string
- type: array
- encrypted:
- type: boolean
- engineImage:
- type: string
- fromBackup:
- type: string
- restoreVolumeRecurringJob:
- enum:
- - ignored
- - enabled
- - disabled
- type: string
- frontend:
- enum:
- - blockdev
- - iscsi
- - ""
- type: string
- lastAttachedBy:
- type: string
- migratable:
- type: boolean
- migrationNodeID:
- type: string
- nodeID:
- type: string
- nodeSelector:
- items:
- type: string
- type: array
- numberOfReplicas:
- type: integer
- recurringJobs:
- description: Deprecated. Replaced by a separate resource named "RecurringJob"
- items:
- description: 'VolumeRecurringJobSpec is a deprecated struct. TODO: Should be removed when recurringJobs gets removed from the volume spec.'
- properties:
- concurrency:
- type: integer
- cron:
- type: string
- groups:
- items:
- type: string
- type: array
- labels:
- additionalProperties:
- type: string
- type: object
- name:
- type: string
- retain:
- type: integer
- task:
- enum:
- - snapshot
- - backup
- type: string
- type: object
- type: array
- replicaAutoBalance:
- enum:
- - ignored
- - disabled
- - least-effort
- - best-effort
- type: string
- revisionCounterDisabled:
- type: boolean
- size:
- format: int64
- type: string
- snapshotDataIntegrity:
- enum:
- - ignored
- - disabled
- - enabled
- - fast-check
- type: string
- staleReplicaTimeout:
- type: integer
- unmapMarkSnapChainRemoved:
- enum:
- - ignored
- - disabled
- - enabled
- type: string
- type: object
- status:
- description: VolumeStatus defines the observed state of the Longhorn volume
- properties:
- actualSize:
- format: int64
- type: integer
- cloneStatus:
- properties:
- snapshot:
- type: string
- sourceVolume:
- type: string
- state:
- type: string
- type: object
- conditions:
- items:
- properties:
- lastProbeTime:
- description: Last time we probed the condition.
- type: string
- lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
- type: string
- message:
- description: Human-readable message indicating details about last transition.
- type: string
- reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
- type: string
- status:
- description: Status is the status of the condition. Can be True, False, Unknown.
- type: string
- type:
- description: Type is the type of the condition.
- type: string
- type: object
- nullable: true
- type: array
- currentImage:
- type: string
- currentNodeID:
- type: string
- expansionRequired:
- type: boolean
- frontendDisabled:
- type: boolean
- isStandby:
- type: boolean
- kubernetesStatus:
- properties:
- lastPVCRefAt:
- type: string
- lastPodRefAt:
- type: string
- namespace:
- description: determine if PVC/Namespace is history or not
- type: string
- pvName:
- type: string
- pvStatus:
- type: string
- pvcName:
- type: string
- workloadsStatus:
- description: determine if Pod/Workload is history or not
- items:
- properties:
- podName:
- type: string
- podStatus:
- type: string
- workloadName:
- type: string
- workloadType:
- type: string
- type: object
- nullable: true
- type: array
- type: object
- lastBackup:
- type: string
- lastBackupAt:
- type: string
- lastDegradedAt:
- type: string
- ownerID:
- type: string
- pendingNodeID:
- type: string
- remountRequestedAt:
- type: string
- restoreInitiated:
- type: boolean
- restoreRequired:
- type: boolean
- robustness:
- type: string
- shareEndpoint:
- type: string
- shareState:
- type: string
- state:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
- status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
- ---
- # Source: longhorn/templates/clusterrole.yaml
- apiVersion: rbac.authorization.k8s.io/v1
- kind: ClusterRole
- metadata:
- name: longhorn-role
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- rules:
- - apiGroups:
- - apiextensions.k8s.io
- resources:
- - customresourcedefinitions
- verbs:
- - "*"
- - apiGroups: [""]
- resources: ["pods", "events", "persistentvolumes", "persistentvolumeclaims","persistentvolumeclaims/status", "nodes", "proxy/nodes", "pods/log", "secrets", "services", "endpoints", "configmaps", "serviceaccounts"]
- verbs: ["*"]
- - apiGroups: [""]
- resources: ["namespaces"]
- verbs: ["get", "list"]
- - apiGroups: ["apps"]
- resources: ["daemonsets", "statefulsets", "deployments"]
- verbs: ["*"]
- - apiGroups: ["batch"]
- resources: ["jobs", "cronjobs"]
- verbs: ["*"]
- - apiGroups: ["policy"]
- resources: ["poddisruptionbudgets", "podsecuritypolicies"]
- verbs: ["*"]
- - apiGroups: ["scheduling.k8s.io"]
- resources: ["priorityclasses"]
- verbs: ["watch", "list"]
- - apiGroups: ["storage.k8s.io"]
- resources: ["storageclasses", "volumeattachments", "volumeattachments/status", "csinodes", "csidrivers"]
- verbs: ["*"]
- - apiGroups: ["snapshot.storage.k8s.io"]
- resources: ["volumesnapshotclasses", "volumesnapshots", "volumesnapshotcontents", "volumesnapshotcontents/status"]
- verbs: ["*"]
- - apiGroups: ["longhorn.io"]
- resources: ["volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
- "engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
- "sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
- "backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
- "backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status",
- "recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status",
- "supportbundles", "supportbundles/status", "systembackups", "systembackups/status", "systemrestores", "systemrestores/status"]
- verbs: ["*"]
- - apiGroups: ["coordination.k8s.io"]
- resources: ["leases"]
- verbs: ["*"]
- - apiGroups: ["metrics.k8s.io"]
- resources: ["pods", "nodes"]
- verbs: ["get", "list"]
- - apiGroups: ["apiregistration.k8s.io"]
- resources: ["apiservices"]
- verbs: ["list", "watch"]
- - apiGroups: ["admissionregistration.k8s.io"]
- resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]
- verbs: ["get", "list", "create", "patch", "delete"]
- - apiGroups: ["rbac.authorization.k8s.io"]
- resources: ["roles", "rolebindings", "clusterrolebindings", "clusterroles"]
- verbs: ["*"]
- ---
- # Source: longhorn/templates/clusterrolebinding.yaml
- apiVersion: rbac.authorization.k8s.io/v1
- kind: ClusterRoleBinding
- metadata:
- name: longhorn-bind
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: longhorn-role
- subjects:
- - kind: ServiceAccount
- name: longhorn-service-account
- namespace: longhorn-system
- ---
- # Source: longhorn/templates/clusterrolebinding.yaml
- apiVersion: rbac.authorization.k8s.io/v1
- kind: ClusterRoleBinding
- metadata:
- name: longhorn-support-bundle
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: cluster-admin
- subjects:
- - kind: ServiceAccount
- name: longhorn-support-bundle
- namespace: longhorn-system
- ---
- # Source: longhorn/templates/daemonset-sa.yaml
- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-manager
- name: longhorn-backend
- namespace: longhorn-system
- spec:
- type: ClusterIP
- sessionAffinity: ClientIP
- selector:
- app: longhorn-manager
- ports:
- - name: manager
- port: 9500
- targetPort: manager
- ---
- # Source: longhorn/templates/deployment-ui.yaml
- kind: Service
- apiVersion: v1
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-ui
- name: longhorn-frontend
- namespace: longhorn-system
- spec:
- type: ClusterIP
- selector:
- app: longhorn-ui
- ports:
- - name: http
- port: 80
- targetPort: http
- nodePort: null
- ---
- # Source: longhorn/templates/services.yaml
- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-conversion-webhook
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- spec:
- type: ClusterIP
- sessionAffinity: ClientIP
- selector:
- app: longhorn-conversion-webhook
- ports:
- - name: conversion-webhook
- port: 9443
- targetPort: conversion-wh
- ---
- # Source: longhorn/templates/services.yaml
- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-admission-webhook
- name: longhorn-admission-webhook
- namespace: longhorn-system
- spec:
- type: ClusterIP
- sessionAffinity: ClientIP
- selector:
- app: longhorn-admission-webhook
- ports:
- - name: admission-webhook
- port: 9443
- targetPort: admission-wh
- ---
- # Source: longhorn/templates/services.yaml
- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-recovery-backend
- name: longhorn-recovery-backend
- namespace: longhorn-system
- spec:
- type: ClusterIP
- sessionAffinity: ClientIP
- selector:
- app: longhorn-recovery-backend
- ports:
- - name: recovery-backend
- port: 9600
- targetPort: recov-backend
- ---
- # Source: longhorn/templates/services.yaml
- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- name: longhorn-engine-manager
- namespace: longhorn-system
- spec:
- clusterIP: None
- selector:
- longhorn.io/component: instance-manager
- longhorn.io/instance-manager-type: engine
- ---
- # Source: longhorn/templates/services.yaml
- apiVersion: v1
- kind: Service
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- name: longhorn-replica-manager
- namespace: longhorn-system
- spec:
- clusterIP: None
- selector:
- longhorn.io/component: instance-manager
- longhorn.io/instance-manager-type: replica
- ---
- # Source: longhorn/templates/daemonset-sa.yaml
- apiVersion: apps/v1
- kind: DaemonSet
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-manager
- name: longhorn-manager
- namespace: longhorn-system
- spec:
- selector:
- matchLabels:
- app: longhorn-manager
- template:
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-manager
- spec:
- initContainers:
- - name: wait-longhorn-admission-webhook
- image: longhornio/longhorn-manager:v1.4.0
- command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-admission-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done']
- containers:
- - name: longhorn-manager
- image: longhornio/longhorn-manager:v1.4.0
- imagePullPolicy: IfNotPresent
- securityContext:
- privileged: true
- command:
- - longhorn-manager
- - -d
- - daemon
- - --engine-image
- - "longhornio/longhorn-engine:v1.4.0"
- - --instance-manager-image
- - "longhornio/longhorn-instance-manager:v1.4.0"
- - --share-manager-image
- - "longhornio/longhorn-share-manager:v1.4.0"
- - --backing-image-manager-image
- - "longhornio/backing-image-manager:v1.4.0"
- - --support-bundle-manager-image
- - "longhornio/support-bundle-kit:v0.0.17"
- - --manager-image
- - "longhornio/longhorn-manager:v1.4.0"
- - --service-account
- - longhorn-service-account
- ports:
- - containerPort: 9500
- name: manager
- readinessProbe:
- tcpSocket:
- port: 9500
- volumeMounts:
- - name: dev
- mountPath: /host/dev/
- - name: proc
- mountPath: /host/proc/
- - name: longhorn
- mountPath: /var/lib/longhorn/
- mountPropagation: Bidirectional
- - name: longhorn-grpc-tls
- mountPath: /tls-files/
- env:
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: POD_IP
- valueFrom:
- fieldRef:
- fieldPath: status.podIP
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- volumes:
- - name: dev
- hostPath:
- path: /dev/
- - name: proc
- hostPath:
- path: /proc/
- - name: longhorn
- hostPath:
- path: /var/lib/longhorn/
- - name: longhorn-grpc-tls
- secret:
- secretName: longhorn-grpc-tls
- optional: true
- serviceAccountName: longhorn-service-account
- updateStrategy:
- rollingUpdate:
- maxUnavailable: "100%"
- ---
- # Source: longhorn/templates/deployment-driver.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: longhorn-driver-deployer
- namespace: longhorn-system
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: longhorn-driver-deployer
- template:
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-driver-deployer
- spec:
- initContainers:
- - name: wait-longhorn-manager
- image: longhornio/longhorn-manager:v1.4.0
- command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done']
- containers:
- - name: longhorn-driver-deployer
- image: longhornio/longhorn-manager:v1.4.0
- imagePullPolicy: IfNotPresent
- command:
- - longhorn-manager
- - -d
- - deploy-driver
- - --manager-image
- - "longhornio/longhorn-manager:v1.4.0"
- - --manager-url
- - http://longhorn-backend:9500/v1
- env:
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- - name: SERVICE_ACCOUNT
- valueFrom:
- fieldRef:
- fieldPath: spec.serviceAccountName
- - name: CSI_ATTACHER_IMAGE
- value: "longhornio/csi-attacher:v3.4.0"
- - name: CSI_PROVISIONER_IMAGE
- value: "longhornio/csi-provisioner:v2.1.2"
- - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE
- value: "longhornio/csi-node-driver-registrar:v2.5.0"
- - name: CSI_RESIZER_IMAGE
- value: "longhornio/csi-resizer:v1.3.0"
- - name: CSI_SNAPSHOTTER_IMAGE
- value: "longhornio/csi-snapshotter:v5.0.1"
- - name: CSI_LIVENESS_PROBE_IMAGE
- value: "longhornio/livenessprobe:v2.8.0"
- serviceAccountName: longhorn-service-account
- securityContext:
- runAsUser: 0
- ---
- # Source: longhorn/templates/deployment-recovery-backend.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-recovery-backend
- name: longhorn-recovery-backend
- namespace: longhorn-system
- spec:
- replicas: 2
- selector:
- matchLabels:
- app: longhorn-recovery-backend
- template:
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-recovery-backend
- spec:
- affinity:
- podAntiAffinity:
- preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 1
- podAffinityTerm:
- labelSelector:
- matchExpressions:
- - key: app
- operator: In
- values:
- - longhorn-recovery-backend
- topologyKey: kubernetes.io/hostname
- containers:
- - name: longhorn-recovery-backend
- image: longhornio/longhorn-manager:v1.4.0
- imagePullPolicy: IfNotPresent
- securityContext:
- runAsUser: 2000
- command:
- - longhorn-manager
- - recovery-backend
- - --service-account
- - longhorn-service-account
- ports:
- - containerPort: 9600
- name: recov-backend
- readinessProbe:
- tcpSocket:
- port: 9600
- initialDelaySeconds: 3
- periodSeconds: 5
- env:
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- serviceAccountName: longhorn-service-account
- ---
- # Source: longhorn/templates/deployment-ui.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-ui
- name: longhorn-ui
- namespace: longhorn-system
- spec:
- replicas: 2
- selector:
- matchLabels:
- app: longhorn-ui
- template:
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-ui
- spec:
- affinity:
- podAntiAffinity:
- preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 1
- podAffinityTerm:
- labelSelector:
- matchExpressions:
- - key: app
- operator: In
- values:
- - longhorn-ui
- topologyKey: kubernetes.io/hostname
- containers:
- - name: longhorn-ui
- image: longhornio/longhorn-ui:v1.4.0
- imagePullPolicy: IfNotPresent
- volumeMounts:
- - name : nginx-cache
- mountPath: /var/cache/nginx/
- - name : nginx-config
- mountPath: /var/config/nginx/
- - name: var-run
- mountPath: /var/run/
- ports:
- - containerPort: 8000
- name: http
- env:
- - name: LONGHORN_MANAGER_IP
- value: "http://longhorn-backend:9500"
- - name: LONGHORN_UI_PORT
- value: "8000"
- volumes:
- - emptyDir: {}
- name: nginx-cache
- - emptyDir: {}
- name: nginx-config
- - emptyDir: {}
- name: var-run
- ---
- # Source: longhorn/templates/deployment-webhook.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-conversion-webhook
- name: longhorn-conversion-webhook
- namespace: longhorn-system
- spec:
- replicas: 2
- selector:
- matchLabels:
- app: longhorn-conversion-webhook
- template:
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-conversion-webhook
- spec:
- affinity:
- podAntiAffinity:
- preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 1
- podAffinityTerm:
- labelSelector:
- matchExpressions:
- - key: app
- operator: In
- values:
- - longhorn-conversion-webhook
- topologyKey: kubernetes.io/hostname
- containers:
- - name: longhorn-conversion-webhook
- image: longhornio/longhorn-manager:v1.4.0
- imagePullPolicy: IfNotPresent
- securityContext:
- runAsUser: 2000
- command:
- - longhorn-manager
- - conversion-webhook
- - --service-account
- - longhorn-service-account
- ports:
- - containerPort: 9443
- name: conversion-wh
- readinessProbe:
- tcpSocket:
- port: 9443
- env:
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- serviceAccountName: longhorn-service-account
- ---
- # Source: longhorn/templates/deployment-webhook.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-admission-webhook
- name: longhorn-admission-webhook
- namespace: longhorn-system
- spec:
- replicas: 2
- selector:
- matchLabels:
- app: longhorn-admission-webhook
- template:
- metadata:
- labels:
- app.kubernetes.io/name: longhorn
- app.kubernetes.io/instance: longhorn
- app.kubernetes.io/version: v1.4.0
- app: longhorn-admission-webhook
- spec:
- affinity:
- podAntiAffinity:
- preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 1
- podAffinityTerm:
- labelSelector:
- matchExpressions:
- - key: app
- operator: In
- values:
- - longhorn-admission-webhook
- topologyKey: kubernetes.io/hostname
- initContainers:
- - name: wait-longhorn-conversion-webhook
- image: longhornio/longhorn-manager:v1.4.0
- command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" -k https://longhorn-conversion-webhook:9443/v1/healthz) != "200" ]; do echo waiting; sleep 2; done']
- imagePullPolicy: IfNotPresent
- securityContext:
- runAsUser: 2000
- containers:
- - name: longhorn-admission-webhook
- image: longhornio/longhorn-manager:v1.4.0
- imagePullPolicy: IfNotPresent
- securityContext:
- runAsUser: 2000
- command:
- - longhorn-manager
- - admission-webhook
- - --service-account
- - longhorn-service-account
- ports:
- - containerPort: 9443
- name: admission-wh
- readinessProbe:
- tcpSocket:
- port: 9443
- env:
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- serviceAccountName: longhorn-service-account
|